PUT
/v2/organizations/{organizationId}/set-base-permissionsSet organization base permissions
Sets the default granular, scope-based permissions for organization users who do not have direct project permissions. Provide the scopes to grant across the organization's projects.
organizationIdintegerrequired
The numeric identifier of the organization whose base permissions to set.
scopesarray<string>required
Scopes to grant across all projects to organization users who do not have direct project permissions.
200Confirms that the organization's base permissions were set.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user does not have permission to set the organization's base permissions.
codestringrequired
paramsarray<object>optional
404Returned when the organization does not exist.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates an invalid request, a 401 indicates missing or invalid authentication, a 403 indicates insufficient permission, and a 404 indicates that the organization was not found. The organizationId path parameter must identify an existing organization. The scopes query parameter must contain the scopes to grant to eligible organization users.