Create new composite user policy
POST /internal/v2/{bucket}/user_policy/standard
POST
/internal/v2/{bucket}/user_policy/standard
Create a composite user policy from a set of standard policies
For example create a team leader policy user_type=team-leader
and assign a set of policies to it policies=base,group,team-leader
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” bucket
required
The bucket (client) name
string
Example
exampleQuery Parameters
Section titled “Query Parameters ” policies
required
string
user_type
required
string
The name of the new user policy
name
string
Optional name for the policy
Responses
Section titled “ Responses ”Successful operation
A standard error message
object
description
A human readable description of the error
string
error
A concise error message
string
type
A machine readable error type
string
Unauthorized is the status code to return when the client provides no credentials or invalid credentials.
Forbidden is the status code to return when a client has valid credentials but not enough privileges to perform an action on a resource.
Not found
An error occurred within sheepCRM, please report to support@sheepcrm.com