Skip to main content

Update organization API token

PATCH 

/api_tokens/api_token

Updates an organization API token with new properties

Scopes

  • api_tokens

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Body

    api_token

    object

    required

    All 'api_token[]' params are mutually exclusive, only one can be provided.

    id string

    properties

    object

    required

    name string
    authorized_ip_addresses string[]
    expires_at integer
    scopes string[]

    annotations

    object[]

  • Array [

  • key stringrequired
    value string
  • ]

Responses

Updates an organization API token with new properties

Schema

    api_token

    object

    required

    id string
    name string
    organization_id stringnullable
    authorized_ip_addresses string[]
    expires_at integernullable
    rate_limit integer
    scopes string[]
    secret stringnullable

    The secret will only be returned on token creation or when a new secret is generated.

    annotations

    object[]

    required

    Annotations for this API token

  • Array [

  • key stringrequired
    value string
  • ]

Loading...