put https://slemma.com/api/v1/access/
Grants access for team, groups and/or individual users.
Descriptions of available object Permissions are listed here
The following are the examples of HTTP status codes including errors that API can generate
Response codes | Response content | Description |
---|---|---|
200 OK | The access to the object was granted successfully. | |
400 Bad Request | Can't delete access from the owner of team | You can't change access permissions for the user with 'Owner' role if you are making requests on behalf of the 'Owner'. |
400 Bad Request | Can't delete access from owner object | You can't change access permissions for the user if you are making requests on behalf of this user |
400 Bad Request | You can't share non team objects. | The object key that was specified does not belong to your team. |
400 Bad Request | Invalid access value | The permission that was specified is invalid. |
400 Bad Request | Blocked access is not supported for Team | 'Blocked' Permission couldn't be specified for the 'AccessOfTeam' parameter. |
403 Forbidden | Access denied | Access to the object is denied. |
404 Not Found | Object not found | The group or user ID that was specified doesn't exists. |