Openapi
Create a tag for the specified organization.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidThe tag payload.
application/jsoncolor?|^#(?:[0-9a-f]{3}|[0-9a-f]{6})$description?|length <= 4000kind*tagKindSchema"task""customer""product"name*string1 <= length <= 80slug?string^[a-z0-9]+(?:-[a-z0-9]+)*$1 <= length <= 160Returns the created tag.
application/jsoncolor*|nullcreatedAt*stringdate-timedescription*string|nullid*tagIdSchemauuidkind*tagKindSchema"task""customer""product"name*string1 <= length <= 80organizationId*organizationIdSchemauuidposition*integer0 <= valueslug*tagSlugSchema^[a-z0-9]+(?:-[a-z0-9]+)*$1 <= length <= 160updatedAt*stringdate-timecurl -X POST 'https://app.localhost/api/v1/organizations/123/tags' \ -H 'Content-Type: application/json' \ -d '{ "kind": "task", "name": "string"}'{ "color": "string", "createdAt": "2019-08-24T14:15:22Z", "description": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "task", "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0, "slug": "string", "updatedAt": "2019-08-24T14:15:22Z"}