organisation
add a user to an organization by superadmin
Changed onadds a user to an organization
post/organisations/{orgId}/users
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
orgIdstring uuid required
Request body
Example request
{
"userId": "01910544-d1e1-7ada-bdac-c761e527ec91"
}Response
User added successfully
Example response
{
"status": "success",
"status_code": 200,
"message": "User added successfully"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking