Create a tag

Creates a tag.

SecurityAPI Key: SecretApiKey or HTTP: JWT
Request
Request Body schema: application/json

Tag resource.

name
required
string <= 255 characters ^[@~\-\.\w\s]+$

Unique name for the tag. Tag names are not case-sensitive.

type
required
string

Type of tag. Tags of a specific type can only be assigned to corresponding entity types. For example, you can only use customer tags on customers.

Enum: "customer" "kyc-document" "aml-check"
post
/tags
Request samples
application/json
{ "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21", "name": "New", "type": "customer" }
Responses

201

Tag created.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

409

Conflict.

422

Invalid data sent.

Response samples
application/json
{ "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21", "name": "New", "type": "customer", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ ] }