DELETE/api/apis/{api_server_id}/scopes/{api_server_scope_id}Authenticated

Delete an API scope

Deletes one of the API server's scopes. It is no longer granted, and refresh grants stop carrying it forward; access tokens already issued with it keep it until they expire.

operationId delete_api_apis_api_server_id_scopes_api_server_scope_idAPI servers

Authentication & permissionsAuthenticated

Any authenticated user

Accepted credentials
Who may call
Any authenticated user
Notes
Organization owners/admins of the owning organization, the owning user of a user-owned API server, or platform administrators.

Path parameters

NameTypeDescription
api_server_id*string

API server id

api_server_scope_id*string (uuid)

Id of the API scope definition

Responses

application/json
SuccessMessageResponse
PropertyTypeDescription
success*true
message*string
JSONExample
"success"true
"message""string"

Example request

bashcurl
curl -X DELETE 'https://auth.schemavaults.com/api/apis/<api_server_id>/scopes/<api_server_scope_id>' \
  -b 'refresh_token_<auth_server_app_id>=<value>'

Other methods on this path