Skip to content

Set the background image key

PUT
/api/v1/admin/appearance/unsplash-key
curl --request PUT \
--url https://example.com/api/v1/admin/appearance/unsplash-key \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "access_key": "example" }'

Sets the background image key. It requires a signed-in User with the admin scope and the admin or owner Role. It can return 400 if the request is invalid, 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/admin/appearance/unsplash-key. Inputs: . A recent account assertion is required. Do not automatically replay this operation after an uncertain result.

Media typeapplication/json

Empty access_key clears the stored secret.

object
access_key
required
string
Examplegenerated
{
"access_key": "example"
}
Media typeapplication/json

The admin API exposes whether a key exists, never the key itself.

object
configured
required
boolean
Examplegenerated
{
"configured": true
}