curl --request PUT \
--url https://api.qovery.com/organization/{organizationId}/annotationsGroups/{annotationsGroupId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"annotations": [
{
"key": "<string>",
"value": "<string>"
}
],
"scopes": [
"DEPLOYMENTS"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"annotations": [
{
"key": "<string>",
"value": "<string>"
}
],
"scopes": [
"DEPLOYMENTS"
],
"updated_at": "2023-11-07T05:31:56Z"
}Edit organization annotations group
curl --request PUT \
--url https://api.qovery.com/organization/{organizationId}/annotationsGroups/{annotationsGroupId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"annotations": [
{
"key": "<string>",
"value": "<string>"
}
],
"scopes": [
"DEPLOYMENTS"
]
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"annotations": [
{
"key": "<string>",
"value": "<string>"
}
],
"scopes": [
"DEPLOYMENTS"
],
"updated_at": "2023-11-07T05:31:56Z"
}JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Organization ID
Organization annotations group ID
Edit organization annotations groups
Show child attributes
Annotations Group Scope
DEPLOYMENTS, STATEFUL_SETS, SERVICES, INGRESS, HPA, PODS, SECRETS, JOBS, CRON_JOBS Was this page helpful?