Delete one or more certificates from the MDM certificate repository

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Delete one or more certificates from the MDM certificate repository. Optionally redistributes profiles that referenced the deleted certificates.

Request URL

https://{server-hostname}:8383/api/v1/mdm/profiles/certificates

Scope

MDMDeviceMgmt.DELETECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

Content-TypestringMandatory
application/jsonapplication/jsonCopied!
AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Request Body

application/json
JSON Object
Hide Sub-Attributes
certificate_idsarrayMandatory

Array of certificate IDs to delete. Minimum 1, maximum 25 entries. Obtain from the Get Certificates response

redistribute_profilesbooleanOptional

If true, automatically redistributes profiles that referenced the deleted certificates. Default false

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request DELETE \
  --url https://appdomain/api/v1/mdm/profiles/certificates \
  --header 'Accept: application/json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52' \
  --header 'Content-Type: application/json' \
  --data '{"certificate_ids":[9007199254741000,9007199254741008,9007199254741296],"redistribute_profiles":false}'

Sample Request Body

Delete multiple certificates by their IDs

Copied!
  {
    "certificate_ids": [
      9007199254741000,
      9007199254741008,
      9007199254741296
    ],
    "redistribute_profiles": false
  }
                
Show full

Delete certificates and redistribute associated profiles

Copied!
  {
    "certificate_ids": [
      9007199254741000
    ],
    "redistribute_profiles": true
  }
                
Show full

Response Parameters

- HTTP code 202

Response Body - application/json
JSON Object
Hide Sub-Attributes
statusboolean

true if the certificates were successfully deleted

Possible Response Codes

202HTTP code

Sample Response: HTTP 202

Certificates successfully deleted

Copied!
  {
    "status": true
  }
                
Show full

Duration: 1 minute | Threshold: 60 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.