Add a policy to all group leaders
POST /internal/v2/{bucket}/user_policy/{uid}/leaders
POST
/internal/v2/{bucket}/user_policy/{uid}/leaders
Add the given policy to all group user accounts. The output is logged in the usage reports; safe mode will output the planned changes without applying them
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” bucket
required
The bucket (client) name
string
Example
example uid
required
Usually the final element in the URI, an alphanumeric unique identifier
string
Example
6305f074683e800f3abe809eQuery Parameters
Section titled “Query Parameters ” safe_mode
boolean
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