Gatana logoGatana Docs
RoutesProfilesProfileidDirect assignments

/profiles/{profileId}/direct-assignments

List the accounts and teams that are assigned directly to the profile

GET
/profiles/{profileId}/direct-assignments
AuthorizationBearer <token>

In: header

Path Parameters

profileId*string

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/profiles/string/direct-assignments"
{
  "accounts": [
    {
      "id": "string",
      "email": "string",
      "name": "string",
      "assignedAt": "string",
      "isLockedByOrgOwner": true
    }
  ],
  "teams": [
    {
      "id": "string",
      "name": "string",
      "assignedAt": "string",
      "isLockedByOrgOwner": true
    }
  ]
}