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

Give a licence to a group.

POST/api/v1/groups/{group_id}/licencespermissions:admin
注記

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

Gives the group an app licence, which opens that app for every member. You cannot give a licence you do not hold to a group you belong to. A licence the group already holds is refused (409 already_exists).

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

パラメーター​

名前場所型必須説明
group_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonGroupLicenceCreateInput

応答​

ステータス説明本文
201Success.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
409already_exists, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

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

スキーマ​

GroupLicenceCreateInput​

フィールド型必須説明
licence_idstring必須

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必須