Gatana logoGatana Docs
RoutesUsersUseridProfiles

/users/{userId}/profiles

List the profiles assigned to a user

GET
/users/{userId}/profiles
AuthorizationBearer <token>

In: header

Path Parameters

userId*string

ID of the user

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/users/string/profiles"
{
  "profileAssignments": [
    {
      "tenantId": "string",
      "userId": "string",
      "profileId": "string",
      "isLockedByOrgOwner": true,
      "createdAt": "string",
      "updatedAt": "string"
    }
  ]
}