secrets

Updates an existing secret.

Required scope: `secrets:write`

put/secrets/{secret_id}

Request

  • Base URL
    https://developer.qaip.com/api/v1
  • URL
    https://developer.qaip.com/api/v1/secrets/{secret_id}
  • Auth
    API key in header x-api-key

Path parameters

secret_idstring required

Secret ID

Request body

namestring required

Name of the secret

secretstring

The secret value (omit to keep unchanged)

descriptionstring

Description of the secret

Response

Successfully updated secret

idstring required

Secret ID

namestring required

Name of the secret

type'google_drive' | 'github' | 'notion' | 'x' | 'xai' | 'chartmetric' required

The type of the secret

descriptionstring

Description of the secret

last_update_timeinteger required

Last updated time (Unix timestamp in seconds)

creation_timeinteger required

Creation time (Unix timestamp in seconds)

chartmetric_lifecycle_state'pending_create' | 'active' | 'pending_update' | 'pending_delete'

Persistent lifecycle state of a Chartmetric credential

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new chartmetric enum value to the response property for the response status

    • warning

      added the new x enum value to the response property for the response status

    • warning

      added the new xai enum value to the response property for the response status

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status