Skip to main content

getTenantAccessDevToolsSettings

TenantDevToolsAccessSettingsWrapper getTenantAccessDevToolsSettings()

GET /api/2.0/settings/devtoolsaccess

Get the Developer Tools access settings

Returns whether the portal currently restricts the User role from using the developer tools (API keys, OAuth apps, webhooks). Requires an authenticated session; every role can read the restriction, even though it only limits what a User may do, not what a RoomAdmin or DocSpaceAdmin may do. This is a read-only, idempotent call. Change the restriction with POST api/2.0/security/devtoolsaccess, which requires the EditPortalSettings permission.

Parameters​

This endpoint does not need any parameter.

Responses​

Status codeDescriptionTypeResponse headers
200Whether the User role is currently restricted from using the developer toolsTenantDevToolsAccessSettingsWrapperX-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
401UnauthorizedErrorApiResponse-
429Too Many Requests.ErrorApiResponseRetry-After
500Internal Server Error.ErrorApiResponse-
502Bad Gateway. Returned by the reverse proxy, response body may be HTML and not JSON.--
503Service Unavailable. Returned by the reverse proxy, response body may be HTML and not JSON.--

Return type​

TenantDevToolsAccessSettingsWrapper

Authorization​

Basic, OAuth2 (scopes: read, write), ApiKeyBearer, asc_auth_key, Bearer, OpenId

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json