Tenant-level – Delete CORS
URL: /admin/api/v1/tenants/{tenantId}/cors/{corsId}
Method: DELETE
Authentication: Super Admin, Tenant Admin
Field |
Data type |
Mandatory |
Description |
Validations |
---|---|---|---|---|
tenantId |
int |
Y |
Tenant identifier |
Checks if tenant exists in the DB |
corsId |
int |
Y |
CORS identifier |
Checks if CORS exists in the DB |
Response body
204 No Content
HTTP status codes, error codes, and messages
HTTP response code |
Error code |
Error message |
---|---|---|
404 |
2001 |
Tenant doesn’t exist |
400 |
2002 |
CORS doesn’t exist |
500 |
2005 |
Internal server error |
{
"message": "CORS doesn't exist",
"errorCode": 2001
}