Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
contact: {}
license: {}
title: Apptio Domain Branding API
description: Operations for Domain branding (logo images)
tags:
- name: domain-branding
description: Operations for Domain branding (logo images)
paths:
/api/v2/domains/content/logos:
post:
tags:
- domain-branding
summary: Upload logo images for a Domain
description: 'Uploads one or more logo images via multipart form data. All fields are optional. logo: square mark favicon: square icon for browser tab logoWide: rectangular logo Accepted image types: image/png, image/jpeg, image/svg+xml. Max 200KB each.'
operationId: uploadDomainLogos
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/UploadLogosForm'
responses:
'204':
description: Logos uploaded
'400':
description: Invalid request (bad image type or size)
'404':
description: Domain not found
delete:
tags:
- domain-branding
summary: Delete logo images for a Domain
description: 'Removes logo images from cloud storage and clears the corresponding flags. Use the ''types'' query parameter to specify which logos to delete (comma-separated). Valid values: logo, favicon, logoWide, logoDark. If omitted, all four are deleted.'
operationId: deleteDomainLogos
parameters:
- name: domainName
in: query
schema:
maxLength: 80
minLength: 1
type: string
- name: types
in: query
schema:
type: string
responses:
'204':
description: Logos deleted
'404':
description: Domain not found
components:
schemas:
UploadLogosForm:
type: object
properties:
domainName:
type: string
description: Domain name
logo:
type: string
description: Square logo for /home top bar
format: binary
favicon:
type: string
description: Square icon for browser tab
format: binary
logoWide:
type: string
description: Rectangular logo for login page
format: binary
logoDark:
type: string
description: Dark mode logo image
format: binary
sameLogoLightAndDark:
type: boolean
description: If true, dark mode uses the same image as the light logo. Cannot be true when a logoDark file is provided.
description: Logo images upload form