API7 Docs

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-_.]+$
Length1 <= length <= 256
Default"default"
credential_id*string

The unique identifier of the application credential.

Match^[a-zA-Z0-9-_.]+$
Length1 <= length <= 256

Response 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.

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 to DELETE /api/applications/{application_id}/credentials/{credential_id}, response 400 above.
  • 404: Resource not found. Response fields (application/json): identical to DELETE /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}'