Retrieve the list of SCEP templates for a given SCEP server

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

Get the List of SCEP server template details

Request URL

https://{server-hostname}:8383/api/v1/mdm/scep/servers/{server_id}/templates

Scope

MDMDeviceMgmt.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Path Parameters

server_idstringMandatory

Unique identifier of the SCEP server. Obtain from Add SCEP Server response

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/api/v1/mdm/scep/servers/{server_id}/templates \
  --header 'Accept: application/json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

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

Pagination metadata

Show Sub-Attributes
scepJSON Array

Array of SCEP template objects

Show Sub-Attributes
JSON Object
Show Sub-Attributes
scep_config_idstring

Unique identifier of the created SCEP template. Use this ID in SCEP payload requests (scep_config_id field)

scep_configuration_namestring

Display name of the SCEP template configuration

namestring

Friendly name of the SCEP template

challenge_typestring

Challenge type. 0=None, 1=Static, 2=Dynamic

is_challenge_pwd_configuredboolean

Whether a challenge password is configured for this template

key_usagestring

Key usage value

subjectstring

Certificate subject DN

subject_altname_typestring

Subject Alternative Name type

subject_altname_valuestring

Subject Alternative Name value

key_sizestring

Key size for the certificate

retriesstring

Number of retries for SCEP enrollment

retry_delaystring

Delay between retries in seconds

nt_principalstring

NT Principal name

seat_idstring

Seat ID variable

urlstring

SCEP server URL (inherited from the parent SCEP server)

ca_finger_printstring

CA certificate fingerprint (inherited from the parent SCEP server)

renewal_settingsJSON Object

Auto-renewal configuration

Show Sub-Attributes

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

List of SCEP templates for the server

Copied!
  {
    "metadata": {
      "total_record_count": "1"
    },
    "scep": [
      {
        "nt_principal": "",
        "challenge_type": "0",
        "is_challenge_pwd_configured": false,
        "key_usage": "0",
        "subject": "CN=%serialnumber%",
        "seat_id": "%email%",
        "renewal_settings": {
          "auto_renew_enabled": false,
          "num_days": "-1"
        },
        "scep_config_id": "6967000000599729",
        "url": "http://10.51.79.112/certSrv/mscep/mscep.dll",
        "ca_finger_print": "bf54330f3132d590d3d7c3e86ebc8563b5ea976e",
        "retries": "0",
        "scep_configuration_name": "Sample",
        "retry_delay": "0",
        "name": "Sample",
        "subject_altname_type": "0",
        "subject_altname_value": "",
        "key_size": "1"
      }
    ]
  }
                
Show full

Duration: 1 minute | Threshold: 120 | 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.