Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

A StarTree API token or a service token (st-<accessKey>-<secretKey>).

Path Parameters

roleSrn
string
required

SRN of the role, with # encoded as %23.

Body

application/json
policySrn
string
required
Example:

"srn2:policy#my-read-only-policy"

Response

Policy detached. The response body is empty.