Skip to content

Generate the public key file

Request

Generate the public key file which is uploaded to Apple Business Manager(ABM) console to generate the DEP token.

Security
apiKey
Bodyapplication/json
object(PipelineRun_POST)
cURL
curl -i -X POST \
  https://develop-api.esper.io/_mock/openapi/tenant/v0/deptokens/ \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses

Public key generation for ABM

Headers
Content-Dispositionstring
Example:"attachment; filename=\"Esper_Public_Key.pem\""
Bodytext/plain; charset=utf-8
string
Response
-----BEGIN PUBLIC KEY----- MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiAKBgE7FsxhVgAauNzV2S+B2O2TVpcKc /aPylhD8Abq0/5swcu3XFseP/GVttTH7JzSLLKdpyculA/DWfc73OP+r4LeswbAc pyvI8uDVCexU7YsND00Vs/L1i9RZXpCBk0oNECjIKQ6ex7ccI6VzZaTH6DallGkY eUcBApaAiL5QILTlAgMBAAE= -----END PUBLIC KEY-----