DetachManagedPolicy Method

Description

Detaches a Skeddly managed policy from a user.

HTTP Request

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

URL Parameters

id

ID of the user from which the managed policy is to be detached.

Type: string

Required: Yes

Body

The body is a JSON structure with the following properties.

managedPolicyId

ID of the managed policy to detach.

Type: string

Required: Yes

projectId

ID of the project under which the policy is to be detached from the user.

Type: string

Required: No

Returns

A User object.

Sample Request

Sample Response

Last updated