Roles & Permissions
Create a new role
Creates a new role with specified permissions and role level
post/api/roles
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"permissions": "1,2,3",
"role_level": 40
}Response
A new role with its permissions.
Changes
No recorded changes to this operation across all 2 revisions of this API.