curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/roles \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_email": "jsmith@example.com",
"role": "organization_guest"
}
'{
"user_email": "test_email@test.com",
"role": "organization_editor"
}Create a user organization role. Required permission: write:organization_role
curl --request POST \
--url https://api.shareofmodel.ai/v1/organizations/{organization_id}/roles \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_email": "jsmith@example.com",
"role": "organization_guest"
}
'{
"user_email": "test_email@test.com",
"role": "organization_editor"
}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.
organization_guest - Organization Guestorganization_viewer - Organization Viewerorganization_editor - Organization Editororganization_owner - Organization Ownerorganization_guest, organization_viewer, organization_editor, organization_owner UserOrganizationRole created successfully.
organization_guest - Organization Guestorganization_viewer - Organization Viewerorganization_editor - Organization Editororganization_owner - Organization Ownerorganization_guest, organization_viewer, organization_editor, organization_owner