メインコンテンツまでスキップ

Edit an app licence (JSON Merge Patch).

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

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

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.

スコープpermissions:admin (機密性の高いスコープ)
非同期いいえ
MCP ツールupdate_licence
Portal の権限manage_license_assignments

パラメーター​

名前場所型必須説明
licence_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonLicencePatchInput
application/merge-patch+jsonLicencePatchInput

応答​

ステータス説明本文
200Success.application/json Licence または 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

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

Licence​

フィールド型必須説明
display_namestring必須
documentation_urlstring または null必須
icon_countstring または null必須
icon_urlstring または null必須
is_defaultboolean必須Whether the licence is one the company gets by default.
licence_idstring必須
sort_positioninteger または null必須
urlstring必須

LicencePatchInput​

フィールド型必須説明
display_namestring または null任意At most 255 characters.
documentation_urlstring または null任意At most 2000 characters.
icon_countstring または null任意
icon_urlstring または null任意At most 2000 characters.
is_defaultboolean または null任意Whether the licence is one the company gets by default.
licence_idstring または null任意
sort_positioninteger または null任意
urlstring または null任意Where the licence's app opens, at most 2000 characters.