DEP Tokens

APIs to create and access DEP tokens. Learn more about DEP tokens

Generate the public key file

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

SecurityapiKey
Request
Request Body schema: application/json
optional
object (DEP_Token_POST)
Responses
200

Public key generation for ABM

400

Public key generation error - Bad Request

401

Public key generation error - Unauthorized

500

Public key generation error - Internal Server Error

post/tenant/v0/deptokens/
Request samples
application/json
{ }
Response samples
application/json
{
  • "code": 400,
  • "message": "string",
  • "content": { }
}

Get all DEP tokens

Get the list of all DEP tokens available in the tenant

SecurityapiKey
Request
query Parameters
state
string
Enum: "CSR_GENERATED" "COMPLETED"
Responses
200

Lists all dep tokens for a tenant

401

Get DEP tokens error - Unauthorized

500

Get DEP tokens error - Internal Server Error

get/tenant/v0/deptokens/
Request samples
Response samples
application/json
{
  • "code": 0,
  • "message": "string",
  • "content": {
    }
}

Get dep token by id

Retrive information of a DEP token by ID

SecurityapiKey
Request
path Parameters
id
required
string <UUID>

ID of the token object

Responses
200

Get DEP token by id

401

Get DEP token by id error - Unauthorized

404

Not Found

500

Get DEP token by id error - Internal Server Error

get/tenant/v0/deptokens/{id}/
Request samples
Response samples
application/json
{
  • "code": 0,
  • "message": "string",
  • "content": {
    }
}

Upload dep token to a tenant

Upload dep token for a public key for a tenant based on ID of DEP public key

SecurityapiKey
Request
path Parameters
id
required
string <UUID>

ID of the token object

Request Body schema: multipart/form-data
required
file
required
string <binary>

.p7m file from abm console

token_name
required
string
Responses
200

Upload dep token for a public key by id

400

Upload DEP token by id error - Bad Request

401

Upload DEP token by id error - Unauthorized

404

Not Found

500

Upload DEP token by id error - Internal Server Error

put/tenant/v0/deptokens/{id}/
Request samples
Response samples
application/json
{
  • "code": 0,
  • "message": "string",
  • "content": {
    }
}