Create or update context kind

PUT
/api/v2/projects/:projectKey/context-kinds/:key

Create or update a context kind by key. Only the included fields will be updated.

Path parameters

projectKeystringRequired

The project key

keystringRequired

The context kind key

Request

This endpoint expects an object.
namestringRequired

The context kind name

descriptionstringOptional

The context kind description

hideInTargetingbooleanOptional

Alias for archived.

archivedbooleanOptional

Whether the context kind is archived. Archived context kinds are unavailable for targeting.

versionintegerOptional

The context kind version. If not specified when the context kind is created, defaults to 1.

Response

Context kind upsert response

statusstringOptional

The status of the create or update operation

Errors

Built with