PUT/v2/organizations/{organizationId}/set-base-permissions/{permissionType}

Set organization base permission

Sets the default level-based permission for an organization. Choose a value for permissionType to apply that permission as the organization's base permission.

2 parameters
organizationIdintegerrequired
The numeric identifier of the organization whose base permission to set.
permissionTypestringrequired
The base permission to apply: `NONE`, `VIEW`, `TRANSLATE`, `REVIEW`, `EDIT`, or `MANAGE`.
Allowed:NONEVIEWTRANSLATEREVIEWEDITMANAGE

5 status codes
200Confirms that the organization's base permission was set.
400Returned when the request is invalid or `permissionType` is not an accepted value.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
401Returned when the request is not authenticated.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
403Returned when the authenticated user does not have permission to set the organization's base permission.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
paramsarray<object>optional
404Returned when the organization does not exist.
codestringrequired
Allowed:unauthenticatedapi_access_forbiddenapi_key_not_foundinvalid_api_keyinvalid_project_api_keyproject_api_key_expiredbad_credentialsmfa_enabledinvalid_otp_codemfa_not_enabledcan_not_revoke_own_permissionsdata_corrupted
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. permissionType must be one of NONE, VIEW, TRANSLATE, REVIEW, EDIT, or MANAGE.