roles
Create a new organization role
Changed onCreates a new role within an organization.
post/organisations/{org_id}/roles
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
org_idstring uuid required
ID of the organization to create the role in.
Request body
Response
Role created successfully
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking