Secret keys

Disable Secret Key

Changed on

Idempotently disable an unrevoked secret key.

post/v1/api-keys/{public_id}/disable

Request

  • Base URL
    https://api.flower.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flower.ai/v1/api-keys/{public_id}/disable
  • Auth
    HTTP bearer

Path parameters

public_idstring required

Response

Successful Response

public_idstring required
tenant_idinteger required
organization_idinteger required

Use tenant_id instead.

creator_flwr_aidstring required
namestring required
masked_valuestring required
state'active' | 'disabled' | 'expired' | 'revoked' required
enabledboolean required
expires_atstring date-time nullable required
lifetime_credit_limitinteger nullable required
used_creditsinteger required
disabled_atstring date-time nullable required
revoked_atstring date-time nullable required
created_atstring date-time required
updated_atstring date-time required
last_used_atstring date-time nullable required

Changes

    • info

      response property organization_id deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status