List roles
Returns a paginated list of role definitions for the caller's organization. Role responses omit permission actions.
/user-management/1/rolesAuthorizations
AuthorizationstringrequiredContact Amplitude Support to obtain your organization's org API key and org secret key.Send them as HTTP Basic credentials on every request: org API key in the username field, org secret key in the password field. Also include orgId as a query parameter for your organization.401: invalid credentials. 403 (org_not_enrolled): your organization is not enabled for this API.
Query parameters
orgIdintegerrequiredOrganization id for the authenticated API caller. Must match the organization tied to the org key pair in the Authorization header.
min: 1cursorstringOpaque pagination cursor from a previous response pagination.nextCursor. Omit to start at the first page.
limitintegerMaximum number of items per page. Defaults to 50 when omitted and is capped at 200.
min: 1max: 200Response
application/jsondataobject[]requiredShow child attributes
uuidstringrequiredformat: uuidnamestringrequiredorgIdintegermin: 0tagsobjectrequiredTags associated with a role. Use the "description" key for a human readable summary.
{"product":["experiment"],"type":"custom"}paginationobjectrequiredCursor pagination metadata. nextCursor is the cursor to pass to fetch the next page, or null when there are no more results. hasMore indicates whether another page is available.
{"nextCursor":0,"hasMore":true}Show child attributes
nextCursorstringrequirednullablehasMorebooleanrequiredtypestringrequiredRFC 7807 problem type URI
format: urititlestringrequiredstatusintegerrequireddetailstringnullableinstancestringnullableerror_codestringrequiredinvalid_requestauthentication_requiredinsufficient_permissionsorg_id_mismatchorg_not_enrollednot_foundconflictrate_limitedinternal_errorretryablebooleanrequiredretry_after_secondsintegernullabletypestringrequiredRFC 7807 problem type URI
format: urititlestringrequiredstatusintegerrequireddetailstringnullableinstancestringnullableerror_codestringrequiredinvalid_requestauthentication_requiredinsufficient_permissionsorg_id_mismatchorg_not_enrollednot_foundconflictrate_limitedinternal_errorretryablebooleanrequiredretry_after_secondsintegernullabletypestringrequiredRFC 7807 problem type URI
format: urititlestringrequiredstatusintegerrequireddetailstringnullableinstancestringnullableerror_codestringrequiredinvalid_requestauthentication_requiredinsufficient_permissionsorg_id_mismatchorg_not_enrollednot_foundconflictrate_limitedinternal_errorretryablebooleanrequiredretry_after_secondsintegernullabletypestringrequiredRFC 7807 problem type URI
format: urititlestringrequiredstatusintegerrequireddetailstringnullableinstancestringnullableerror_codestringrequiredinvalid_requestauthentication_requiredinsufficient_permissionsorg_id_mismatchorg_not_enrollednot_foundconflictrate_limitedinternal_errorretryablebooleanrequiredretry_after_secondsintegernullabletypestringrequiredRFC 7807 problem type URI
format: urititlestringrequiredstatusintegerrequireddetailstringnullableinstancestringnullableerror_codestringrequiredinvalid_requestauthentication_requiredinsufficient_permissionsorg_id_mismatchorg_not_enrollednot_foundconflictrate_limitedinternal_errorretryablebooleanrequiredretry_after_secondsintegernullableWas this helpful?