Skip to content

Upload APNs certificate

Request

Upload the signed APNs certificate obtained from the apple identity console.

Security
apiKey
Path
idstringrequired

ID of the APNs certificate meta object

Bodymultipart/form-datarequired
filestring, (binary)required
apple_idstringrequired
cURL
curl -i -X PUT \
  'https://develop-api.esper.io/_mock/openapi/tenant/v0/apnscertificates/{id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F file=string \
  -F apple_id=string

Responses

Uploaded APNs certificate meta Information

Bodyapplication/json
codeinteger
messagestring
contentobject(APNSCertInfo)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "apple_id": "string", "meta": {}, "state": "CSR_GENERATED", "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }