DELETE
/api/apps/{app_id}/domains/{app_domain_ref_id}AuthenticatedRemove a domain from an app
Detaches a domain from a client application. Its origin is no longer accepted for CORS and, in environments without explicit callback URLs, as a redirect_uri origin. Requires management access: platform administrators, owners / admins of the owning organization, or the owning user. Hardcoded apps cannot be configured.
operationId
delete_api_apps_app_id_domains_app_domain_ref_idClient applicationsAuthentication & 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
Path parameters
| Name | Type | Description |
|---|---|---|
| app_id* | string | Client application id |
| app_domain_ref_id* | string (uuid) | The app domain reference 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/apps/<app_id>/domains/<app_domain_ref_id>' \
-b 'refresh_token_<auth_server_app_id>=<value>'