Assign a capability to a group
post/capabilities/{capabilityName}/groups
Assign the specified capability to a group principal
The group to assign the capability to
A specific user or group.
Name | Type | Required | Description |
---|---|---|---|
name | string | false | The ID of the user or group. If the principalType refers to a construct, no value is specified for t his property. |
type | string | false | The type of the principal, or a construct. Allowed values: usergroup |
version | integer<int32> | false | The principal media type version. The version described here is version 1. |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | Created | Headers | |
400 | Bad Request | The principal represenation in the request body is invalid | Schema | |
403 | Forbidden | Forbidden. The user does not have the required sas.capability.assign.group capability. | Schema | |
404 | Not Found | No capability with the specified name has been found | Schema |