Skip to main content

Edit an app licence (JSON Merge Patch).

PATCH/api/v1/licences/{licence_id}permissions:admin

Changes the licence's display_name, url, icon_url, documentation_url, sort_position and is_default; icon_count is read-only. A licence's URL and default flag decide which apps its group members are offered, so every user's list of apps is refreshed. Needs Manage License Assignments; the answer is the licence, shown to a holder of View Licenses and acknowledged with a receipt to anyone else.

Scopepermissions:admin (sensitive)
AsynchronousNo
MCP toolupdate_licence
Portal permissionsmanage_license_assignments

Parameters​

NameInTypeRequiredDescription
licence_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonLicencePatchInput
application/merge-patch+jsonLicencePatchInput

Responses​

StatusDescriptionBody
200Success.application/json Licence or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Licence​

FieldTypeRequiredDescription
display_namestringRequired
documentation_urlstring or nullRequired
icon_countstring or nullRequired
icon_urlstring or nullRequired
is_defaultbooleanRequiredWhether the licence is one the company gets by default.
licence_idstringRequired
sort_positioninteger or nullRequired
urlstringRequired

LicencePatchInput​

FieldTypeRequiredDescription
display_namestring or nullOptionalAt most 255 characters.
documentation_urlstring or nullOptionalAt most 2000 characters.
icon_countstring or nullOptional
icon_urlstring or nullOptionalAt most 2000 characters.
is_defaultboolean or nullOptionalWhether the licence is one the company gets by default.
licence_idstring or nullOptional
sort_positioninteger or nullOptional
urlstring or nullOptionalWhere the licence's app opens, at most 2000 characters.