curl --request GET \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/roles \
--header 'Authorization: <api-key>'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>",
"last_login": "2023-11-07T05:31:56Z",
"picture": "<string>",
"is_active": true
},
"organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"added_by": "<string>",
"role": "organization_guest"
}
]List user organization roles in a given organization. Required permission: read:organization_role
curl --request GET \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/roles \
--header 'Authorization: <api-key>'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>",
"last_login": "2023-11-07T05:31:56Z",
"picture": "<string>",
"is_active": true
},
"organization": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"added_by": "<string>",
"role": "organization_guest"
}
]Documentation Index
Fetch the complete documentation index at: https://docs.shareofmodel.ai/llms.txt
Use this file to discover all available pages before exploring further.
A UUID string identifying the organization.
A list of all the user organization roles on the specified organization
Show child attributes
organization_guest - Organization Guestorganization_viewer - Organization Viewerorganization_editor - Organization Editororganization_owner - Organization Ownerorganization_guest, organization_viewer, organization_editor, organization_owner