curl --request POST \
--url https://api.example.com/organization/secrets/{secret_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"type": "custom",
"name": "<string>",
"description": "<string>",
"keys": [
{
"key": "<string>",
"value": "<string>"
}
],
"tags": {},
"environment": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Update an organization secret by ID.
curl --request POST \
--url https://api.example.com/organization/secrets/{secret_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"type": "custom",
"name": "<string>",
"description": "<string>",
"keys": [
{
"key": "<string>",
"value": "<string>"
}
],
"tags": {},
"environment": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}secret-[0-9a-f]{32}Update a secret.
custom: Arbitrary user-defined typestoken: A token, e.g. API Key, JWT Token (TBC)oauth2: OAuth2 Client Credentials (TBC)The type of a secret.
custom, ssh-key, mtls, ca-cert 1 - 10010001 - 100 elementsShow child attributes
Show child attributes
1 - 100Successful Response
Was this page helpful?