Save the SCEP Server template details
post /api/v1/mdm/scep/servers/{server_id}/templates
https://{server-hostname}:8383/api/v1/mdm/scep/servers/{server_id}/templates
MDMDeviceMgmt.CREATECopied!
Authorization: d92d4xxxxxxxxxxxxx15f52
Unique identifier of the SCEP server. Obtain from Add SCEP Server response
Display name for the SCEP template configuration (required)
Challenge type for SCEP enrollment. 0=None, 1=Static, 2=Dynamic (required)
Key usage for the certificate. 0=None, 1=Signing, 2=Encryption, 3=Both, 4=Digital Signature, 5=Key Encipherment (required)
Subject Alternative Name type. 0=None, 1=RFC 822 Name, 2=DNS Name, 3=URI, 4=NT Principal Name, 5=Uniform Resource Identifier (required)
Key size for the certificate in bits (required). Common values: 1=1024, 2=2048, 4=4096
Certificate subject DN. Supports variables like %serialnumber%, %email%, %udid%
Friendly name for the SCEP template
NT Principal name for the certificate
Static challenge password (required when challenge_type=1)
Subject Alternative Name value. Supports variables like %email%, %serialnumber%
Number of retries for SCEP enrollment. Default: 0
Delay between retries in seconds. Default: 0
Seat ID variable for the certificate. Supports variables like %email%
Domain name for the SCEP server authentication
URL for the dynamic challenge endpoint (required when challenge_type=2)
Username for the dynamic challenge endpoint
Password for the dynamic challenge endpoint
Whether to redistribute profiles when this template is updated. Default: false
Auto-renewal configuration for certificates issued by this template
curl --request POST \
--url https://appdomain/api/v1/mdm/scep/servers/%7Bserver_id%7D/templates \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"retries":0,"challenge_type":0,"scep_configuration_name":"Sample","key_usage":0,"retry_delay":"0","subject":"CN=%serialnumber%","seat_id":"%email%","name":"Sample","subject_altname_type":0,"subject_altname_value":"","key_size":1}'Add a new SCEP template with basic configuration
{
"retries": 0,
"challenge_type": 0,
"scep_configuration_name": "Sample",
"key_usage": 0,
"retry_delay": "0",
"subject": "CN=%serialnumber%",
"seat_id": "%email%",
"name": "Sample",
"subject_altname_type": 0,
"subject_altname_value": "",
"key_size": 1
}
Unique identifier of the created SCEP template. Use this ID in SCEP payload requests (scep_config_id field)
Display name of the SCEP template configuration
Friendly name of the SCEP template
Challenge type. 0=None, 1=Static, 2=Dynamic
Whether a challenge password is configured for this template
Key usage value
Certificate subject DN
Subject Alternative Name type
Subject Alternative Name value
Key size for the certificate
Number of retries for SCEP enrollment
Delay between retries in seconds
NT Principal name
Seat ID variable
SCEP server URL (inherited from the parent SCEP server)
CA certificate fingerprint (inherited from the parent SCEP server)
SCEP template successfully created
{
"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"
}
![]()
Duration: 1 minute | Threshold: 30 | 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.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.