API7 GatewayAPI7 Enterprise Developer Portal APIsDelete an application credential for Developer Portal
Delete an application credential for Developer Portal
DELETE /api/applications/{application_id}/credentials/{credential_id}
DELETE /api/applications/{application_id}/credentials/{credential_id}Interactive request editor loads with JavaScript.
Authorization
BearerAuth DeveloperIDHeader AuthorizationBearer <token>
In: header
X-Portal-Developer-ID<token>
In: header
Path Parameters
application_id*string
The object ID.
Match
^[a-zA-Z0-9-_.]+$Length
1 <= length <= 256Default
"default"credential_id*string
The unique identifier of the application credential.
Match
^[a-zA-Z0-9-_.]+$Length
1 <= length <= 256Response Body
application/json
application/json
application/json
curl -X DELETE "$API_BASE_URL/api/applications/bd58fce2-b6cc-4d2d-a53c-6ce11b19c101/credentials/bd58fce2-b6cc-4d2d-a53c-6ce11b19c101"The resource was deleted successfully.
Bad request.
{
"status": 400,
"message": "error message"
}Unauthorized.
{
"status": 401,
"message": "unauthorized"
}Resource not found.
{
"status": 404,
"message": "resource not found"
}Internal server error.
Complete operation details and schema variants
DELETE /api/applications/{application_id}/credentials/{credential_id}
Delete an application credential for Developer Portal
Parameters
application_id(path, string, required):credential_id(path, string, required): The unique identifier of the application credential.
Responses
204: The resource was deleted successfully.400: Bad request.status(integer, required): The HTTP status code of the error response.message(string, required): The error message.401: Unauthorized. Response fields (application/json): identical toDELETE /api/applications/{application_id}/credentials/{credential_id}, response 400 above.404: Resource not found. Response fields (application/json): identical toDELETE /api/applications/{application_id}/credentials/{credential_id}, response 400 above.500: Internal server error.
cURL
curl -X DELETE '$API_BASE_URL/api/applications/{application_id}/credentials/{credential_id}'