Skip to content

Upload the background image

Request

OAuth 2.0 scope:
  • okta.brands.manage

Uploads and replaces the background image for the theme. The file must be in PNG, JPG, or GIF format and less than 2 MB in size.

Path
brandIdstringrequired

The ID of the brand

themeIdstringrequired

The ID of the theme

Bodymultipart/form-data

background image file

filestring, (binary)required
curl -i -X POST \
  'https://subdomain.okta.com/api/v1/brands/{brandId}/themes/{themeId}/background-image' \
  -H 'Content-Type: multipart/form-data' \
  -F file=string

Responses

Content Created

Bodyapplication/json
urlstringread-only
Response
{ "url": "string" }