User Certificates API (v1.0)
Managing user TLS certificates
UpdateVersion certificate version for specified ID
Authorizations:
X-Auth-Token
path Parameters
cert_id required | string Certificate's ID |
Request Body schema: application/jsonrequired
Payload
object Certificate in PEM encoded format | |||||
|
Responses
Request samples
- Payload
Content type
application/json
{- "pem": {
- "certificates": [
- "string"
], - "private_key": "string"
}
}
Remove consumer from certificate
Authorizations:
X-Auth-Token
path Parameters
cert_id required | string Certificate's ID |
Request Body schema: application/jsonrequired
Payload
Array of objects (rest.Consumer) | |
id | string |
region | string |
type | string |
Responses
Request samples
- Payload
Content type
application/json
{- "consumers": [
- {
- "id": "string",
- "region": "string",
- "type": "string"
}
], - "id": "string",
- "region": "string",
- "type": "string"
}
Add new consumer to certificate
Authorizations:
X-Auth-Token
path Parameters
cert_id required | string Certificate's ID |
Request Body schema: application/jsonrequired
Payload
Array of objects (rest.Consumer) | |
id | string |
region | string |
type | string |
Responses
Request samples
- Payload
Content type
application/json
{- "consumers": [
- {
- "id": "string",
- "region": "string",
- "type": "string"
}
], - "id": "string",
- "region": "string",
- "type": "string"
}
Upload will upload new certificate in storage
Authorizations:
X-Auth-Token
Request Body schema: application/jsonrequired
Payload
name | string |
object Certificate in PEM encoded format |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "pem": {
- "certificates": [
- "string"
], - "private_key": "string"
}
}