AttachManagedPolicy Method

Description

Attaches a Skeddly managed policy to a user.

HTTP Request

PUT https://api.skeddly.com/api/Users/{id}/AttachManagedPolicy

URL Parameters

id

ID of the user to which the managed policy is to be attached.

Type: string

Required: Yes

Body

The body is a JSON structure with the following properties.

managedPolicyId

ID of the managed policy to attach.

Type: string

Required: Yes

projectId

ID of the project under which the policy is attached to the user.

Type: string

Required: No

Returns

A User object.

Sample Request

Sample Response

Last updated