Certificates
Modify a certificate by ID
Modifies an existing certificate
put/spaces/{spaceIdentifier}/certificates/{id}
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/certificates/{id}
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Path parameters
spaceIdentifierstring required
Identifier (ID or slug) of the space
idstring required
The ID of the certificate
Request body
Example request
{
"EnvironmentIds": [
"Environments-1",
"..."
],
"Id": "Certificates-1",
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
]
}Response
The modified certificate resource
Example response
{
"EnvironmentIds": [
"Environments-1",
"..."
],
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
]
}