POST
/
share
/
multi
Create multiple shares
curl --request POST \
  --url https://api.gologin.com/share/multi \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "profile",
  "instanceId": "60a763f86501b32b88a109ca",
  "role": "admin",
  "recepient": "[email protected]",
  "recepients": [
    "[email protected]",
    "[email protected]"
  ]
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
enum<string>
required

Type of the instance you want to share. You can share particular profiles or group of profiles as a folder.

Available options:
profile,
folder
Example:

"profile"

recepient
string
required

Email of the recipient.

recepients
string[]
required

Array of emails of the recipients.

instanceId
string

Id of the instance you want to share.

Example:

"60a763f86501b32b88a109ca"

role
enum<string>

Role of the recipient

Available options:
administrator,
redactor,
guest
Example:

"admin"