secrets

Update Developer Secret

Update a developer secret.

Args: developer_id: ID of the developer who owns the secret secret_id: ID of the secret to update data: New secret data

Returns: The updated secret

Raises: HTTPException: If the secret doesn't exist or doesn't belong to the developer

put/secrets/{secret_id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/secrets/{secret_id}
  • Auth
    API key in header Authorization

Path parameters

secret_idstring uuid required

Request body

metadataobject nullable
namestring required
descriptionstring nullable
valuestring required

Response

Successful Response

idstring uuid required
created_atstring date-time required
updated_atstring date-time required
metadataobject nullable
namestring required
descriptionstring nullable
valuestring required

Changes