Support

Submit identity certificate CSR

View as Markdown

Submits a Certificate Signing Request (CSR) for the agent's identity certificate.

Full description

Submits a Certificate Signing Request (CSR) for the agent's identity certificate. The response contains a "csrId", that is going to match the same field from CertificateResponse.

POST
/v1/agents/{agentId}/certificates/identity

Authorization

AuthorizationBearer <token>

GoDaddy OAuth 2.0 access token sent as Authorization: Bearer <token>. The scope(s) listed on each operation are enforced per-operation. A token requires at least one of the scopes listed for that operation; ans.agent-registration:write implies ans.agent-registration:read on every ANS operation. Scopes do not apply to API key authentication.

In: header

Scope: ans.agent-registration:write

Path Parameters

agentId*string

Unique identifier of the agent (UUID format)

Request Body

application/json

CSR submission request

Request to submit a Certificate Signing Request

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/agents/string/certificates/identity" \  -H "Content-Type: application/json" \  -d '{    "csrPEM": "string"  }'
{  "csrId": "3081018b-0577-442d-b092-6e1f08ef6e0d",  "message": "string"}

Last updated on

How is this guide?