Skip to main content
POST
/
noCo
/
api
/
v2
/
elementPermissions
/
bulk
Share Agent with Team Members
curl --request POST \
  --url https://be.datagol.ai/noCo/api/v2/elementPermissions/bulk \
  --header 'Content-Type: application/json' \
  --header 'x-auth-token: <api-key>' \
  --data '
{
  "permissions": [
    {
      "elementId": "7bf5f4d6-743d-414f-aa4a-96f7a20ce0fd",
      "elementType": "CUSTOM_AGENT",
      "userId": 935,
      "permission": "CREATOR"
    }
  ]
}
'

Authorizations

x-auth-token
string
header
required

For server-to-server or automated access, use a DataGOL Service Account key. Pass it via the x-auth-token header instead of Authorization: x-auth-token: <service-account-key>

Body

application/json
permissions
object[]
required

Response

Permissions applied successfully.