DELETE
/api/apis/{api_server_id}/connect_app/{client_app_id}AuthenticatedDisconnect an app from an API server
Revokes the client application's connection to the API server so it can no longer be issued access tokens for it. Responds 404 when the app was not connected.
operationId
delete_api_apis_api_server_id_connect_app_client_app_idAPI serversAuthentication & permissionsAuthenticated
Any authenticated user
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Any authenticated user
- Notes
- The caller must own the client application (organization owner, owning user, or platform administrator) and, unless the API server is a public hardcoded one, must own the API server too.
Path parameters
| Name | Type | Description |
|---|---|---|
| api_server_id* | string | API server id |
| client_app_id* | string | Client application id |
Responses
application/json
SuccessMessageResponse
| Property | Type | Description |
|---|---|---|
| success* | true | |
| message* | string |
JSONExample
"success"true
"message""string"
Example request
bashcurl
curl -X DELETE 'https://auth.schemavaults.com/api/apis/<api_server_id>/connect_app/<client_app_id>' \
-b 'refresh_token_<auth_server_app_id>=<value>'