DELETE
/api/admin/cors-origins/{cors_origin_id}AdminRemove an allowed CORS origin
operationId
removeCorsOriginAdmin: CORSAuthentication & permissionsAdmin
Platform administrators only
- Accepted credentials
- Access token (Bearer)
Authorization: Bearer <JWT> - Access token (cookie)
cookie "access_token_schemavaults-mail"
- Access token (Bearer)
- Who may call
- Platform administrators only
Path parameters
| Name | Type | Description |
|---|---|---|
| cors_origin_id* | string (uuid) | ID of the allowed-origin entry. |
Responses
application/json
SuccessMessageResponseSuccess envelope for operations with no response payload.
| Property | Type | Description |
|---|---|---|
| success* | true | |
| message* | string |
JSONExample
"success"true
"message""string"
Example request
bashcurl
curl -X DELETE 'https://mail.schemavaults.com/api/admin/cors-origins/<cors_origin_id>' \
-H 'Authorization: Bearer <access_token>'