DELETE/api/apps/{app_id}/service-accountAuthenticated

Remove an app's service account

Removes the client application's service account. Its issued-token records go with it; the next client_credentials grant creates a fresh identity with a new uid. Requires management access; hardcoded apps cannot be configured.

operationId delete_api_apps_app_id_service_accountClient applications

Authentication & permissionsAuthenticated

Any authenticated user

Accepted credentials
Who may call
Any authenticated user

Path parameters

NameTypeDescription
app_id*string

Client application id

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/apps/<app_id>/service-account' \
  -b 'refresh_token_<auth_server_app_id>=<value>'