OrgSecrets

Create or replace org_secret

Create or replace org_secret. If there is an existing org_secret with the same name as the one specified in the request, will replace the existing org_secret with the provided fields

put/v1/org_secret

Request body

namestring required

Name of the org secret

typestring nullable
metadataobject nullable
secretstring nullable

Secret value. If omitted in a PUT request, the existing secret value will be left intact, not replaced with null.

org_namestring nullable

For nearly all users, this parameter should be unnecessary. But in the rare case that your API key belongs to multiple organizations, you may specify the name of the organization the Org Secret belongs in.

Response

Returns the new org_secret object

idstring uuid required

Unique identifier for the org secret

createdstring date-time nullable

Date of org secret creation

org_idstring uuid required

Unique identifier for the organization

namestring required

Name of the org secret

typestring nullable
metadataobject nullable
preview_secretstring nullable

Changes