Openapi
Update a brand 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.
brandId*string"centrakit""mechup""stabledock""caresly""propdock""marryduck""signaldock""spacelio""legaldock"organizationId*stringuuidThe brand payload.
application/jsondescription?|length <= 4000name*string1 <= length <= 240slug?string^[a-z0-9]+(?:-[a-z0-9]+)*$1 <= length <= 160website?|nullReturns the updated brand.
application/jsoncreatedAt*stringdate-timedescription*string|nullid*brandIdSchema"centrakit""mechup""stabledock""caresly""propdock""marryduck""signaldock""spacelio""legaldock"images*array<>logoUrl*|uriname*string1 <= length <= 240organizationId*organizationIdSchemauuidslug*string^[a-z0-9]+(?:-[a-z0-9]+)*$1 <= length <= 160tags*array<>updatedAt*stringdate-timewebsite*string|nullcurl -X PATCH 'https://app.localhost/api/v1/organizations/123/brands/123' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "createdAt": "2019-08-24T14:15:22Z", "description": "string", "id": "centrakit", "images": [ { "altText": "string", "brandId": "centrakit", "createdAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0, "updatedAt": "2019-08-24T14:15:22Z", "url": "http://example.com" } ], "logoUrl": "http://example.com", "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "slug": "string", "tags": [ { "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" } ], "updatedAt": "2019-08-24T14:15:22Z", "website": "string"}