Skip to content

Upload dep token to a tenant
Stable

Request

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

Security
tenant_apiKey
Path
idstring, (UUID)required

ID of the token object

Bodymultipart/form-datarequired
filestring, (binary)required

.p7m file from abm console

token_namestringrequired
cURL
curl -i -X PUT \
  'https://api.esper.io/_mock/openapi/tenant/v0/deptokens/{id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F file=string \
  -F token_name=string

Responses

Upload dep token for a public key by id

Bodyapplication/json
codeinteger
messagestring
contentobject
Response
{ "code": 0, "message": "string", "content": { "schema": {} } }