Skip to main content
PATCH
Update whitelabel

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Path Parameters

sid
string
required

Whitelabel (brand) sid (id_wl_...).

Required string length: 18
Pattern: ^id_wl_

Body

application/json

Request body of update_whitelabel.

name
string

New brand name, 1..255 chars.

Required string length: 1 - 255
domain
string

New host, only while the brand is pending_domain.

Maximum string length: 253
Pattern: ^(?=.{1,253}$)([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,63}$
logo_url
string | null

https URL of the horizontal logo; null clears it. The file itself is uploaded in the app.

Maximum string length: 2048
Pattern: ^https:\/\/
icon_url
string | null

https URL of the square mark; null clears it.

Maximum string length: 2048
Pattern: ^https:\/\/
login_image_url
string | null

https URL of the login artwork; null clears it.

Maximum string length: 2048
Pattern: ^https:\/\/
palette
object | null

Brand colors, #rrggbb each; null = the platform defaults.

email_from_name
string | null

The From name on the clients' mail; null = the brand name.

Maximum string length: 255
email_reply_to
string<email> | null

The Reply-To on the clients' mail; null = none.

Maximum string length: 255
email_from_address
string<email> | null

The brand's own sender address; refused on a host SendGrid cannot authenticate (422 email_domain_invalid), a platform domain (422 email_domain_reserved) or another team's (409 email_domain_already_taken). Proven by verify_whitelabel_email_domain.

Maximum string length: 255

Response

update success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
update
item
object
required
updated_fields
string[]
required
previous_values
object
required
meta
object
required
kept_fields
string[]

The fields this write did not change because the person's own value stands on them (stamped person); read the item for what landed.