Secrets

Create a new API key

Changed on

Use when issuing a new API key (e.g. for a service account or for the current user). Provide service_account_id to create for a service account.

post/secrets/api/keys

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/secrets/api/keys
  • Auth
    API key in header x-api-key

Request body

expires_atstring date-time
namestring required
service_account_idstring
type'private_key' | 'publishable_key' | 'integration' required

Response

Created

api_keystring

Changes

    • warning

      added the new gcs enum value to the / response property for the response status

    • warning

      added the new azure_marketplace enum value to the / response property for the response status

    • warning

      added the new gcp_marketplace enum value to the / response property for the response status