v1
Namespace

Update Namespace

Update an existing namespace.

put/v1/namespace/{namespace_id}

Path parameters

namespace_idstring required

Headers

X-API-Keystring required

Request body

namestring nullable

Updated namespace name

environment_type'development' | 'staging' | 'production'

Environment types for namespaces

is_activeboolean nullable

Whether this namespace is active

rate_limitsobject nullable

Updated rate limits (None values inherit from organization)

default_policyobject nullable

Default memory policy for add/search when request omits policy.

Example request

{
  "environment_type": "staging",
  "is_active": true,
  "name": "acme-staging"
}

Response

Namespace updated

codeinteger

HTTP status code

statusstring

'success' or 'error'

errorstring nullable

Error message if failed

{"stackTrail":"components:schemas:NamespaceResponse:properties:details:anyOf","oasType":"schema","type":"unknown","title":"Details","description":"Additional error details or context","nullable":true}

Changes

Changed in 5 of the 37 revisions of this API.2426

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 400

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 401

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 403

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 404

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was widened by adding types null to media type application/json of response 500

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 400

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 401

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 403

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 404

      response-property-list-of-types-widened

    • ▲

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was widened by adding types null to media type application/json of response 500

      response-property-list-of-types-widened

  • 871a12102bbe1212See the full diff
    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 200

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 400

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 401

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 403

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 404

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/createdAt list-of-types was narrowed by removing types null from media type application/json of response 500

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 200

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 400

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 401

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 403

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 404

      response-property-list-of-types-narrowed

    • ○

      response property data/anyOf[subschema #1: NamespaceItem]/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 500

      response-property-list-of-types-narrowed

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      endpoint added

      endpoint-added