Skip to main content
POST
Grant brand editor access

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string<shortuuid>
required

URL-safe brand identifier.

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$

Body

application/json

Payload to grant a person edit access to a brand.

email
string
required

Email address of an existing Closient user. An address with no account is refused with 422; a person who already holds the Owner, Manager or Editor role on the organization, or already holds a grant on this brand, is refused with 409.

Required string length: 3 - 254
Pattern: ^[^\x00]{3,254}$

Response

Created

One person granted edit access to a single brand.

id
string<shortuuid>
required

Identifier of the grant, used to revoke it.

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$
email
string
required

Email address of the person who holds the grant.

name
string
required

Full name of the person who holds the grant; empty when they have not set one.

granted_by
string | null
required

Email address of the person who made the grant; null when that account no longer exists.

created
string<date-time>
required

ISO-8601 time the grant was made.