Origin CA Certificates

origin_ca_certificates

Methods

Create Certificate -> Envelope<>
post/certificates

Create an Origin CA certificate. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint (see above).

Revoke Certificate -> Envelope<{ id, revoked_at }>
delete/certificates/{certificate_id}

Revoke an existing Origin CA certificate by its serial number. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint (see above).

Get Certificate -> Envelope<>
get/certificates/{certificate_id}

Get an existing Origin CA certificate by its serial number. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint (see above).

List Certificates -> V4PagePaginationArray<>
get/certificates

List all existing Origin CA certificates for a given zone. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint (see above).

Security

Used when interacting with the Origin CA certificates API. View/change your key.

Example: X-Auth-User-Service-Key: v1.0-144c9defac04969c7bfad8ef-631a41d003a32d25fe878081ef365c49503f7fada600da935e2851a1c7326084b85cbf6429c4b859de8475731dc92a9c329631e6d59e6c73da7b198497172b4cefe071d90d0f5d2719

query Parameters
zone_id: string
(maxLength: 32)

Identifier.

limit: number
Optional

Limit to the number of records returned.

offset: number
Optional

Offset the results

page: number
Optional
(minimum: 1, default: 1)

Page number of paginated results.

per_page: number
Optional
(maximum: 50, minimum: 5, default: 20)

Number of records per page.

Response fields
errors: Array<{ code, message, documentation_url, 1 more... }>
messages: Array<{ code, message, documentation_url, 1 more... }>
success: true

Whether the API call was successful.

result: Array<>
Optional
result_info: { count, page, per_page, 1 more... }
Optional
Request example
200Example

Domain types

OriginCACertificate = { csr, hostnames, request_type, 4 more... }