organizations
roles

Role endpoints disclose member records, so they scope them the same way the members list does when the org restricts member list visibility.

put/api/organizations/{organization_id}/roles/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/organizations/{organization_id}/roles/{id}/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this role.

organization_idstring required

ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.

Request body

idstring uuid required
namestring required
created_atstring date-time required
membersobject[] required

Members assigned to this role

is_defaultboolean required

Response

idstring uuid required
namestring required
created_atstring date-time required
membersobject[] required

Members assigned to this role

is_defaultboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.