Roles
Using these endpoints you can list, create and delete roles in a membership.
Role List
GET https://identity.vulos.io/api/v1/organization/:organizationId/:membershipId/role/list
Get all of the roles in a specific membership.
Path Parameters
organizationId*
String
The ID of the organization
membershipId*
String
The ID of the membership
Headers
Authorization*
String
Bearer authentication with the access token obtained using OpenID Connect
[
{ "name": "SuperAdmin", "id": "<guid>" }
]{
"error": "Something went wrong",
"code": "<errror code>",
"request": "<request id>"
}Create Role
PUT https://identity.vulos.io/api/v1/organization/:organizationId/:membershipId/role/create
Create a new role in a specific membership.
Path Parameters
organizationId*
String
The ID of the organization
membershipId*
String
The ID of the membership
Headers
Authorization*
String
Bearer authentication with the access token obtained using OpenID Connect
Request Body
name*
String
The name of the role
{ "name": "SuperAdmin", "id": "<guid>" }{
"error": "Something went wrong",
"code": "<errror code>",
"request": "<request id>"
}Delete Role
DELETE https://identity.vulos.io/api/v1/organization/:organizationId/:membershipId/role/:roleId/delete
Delete a specific role.
Path Parameters
organizationId*
String
The ID of the organization
membershipId*
String
The ID of the membership
roleId*
String
The ID of the role
Headers
Authorization*
String
Bearer authentication with the access token obtained using OpenID Connect
{
"success": true,
"message": "A message describing the successful response"
}{
"error": "Something went wrong",
"code": "<errror code>",
"request": "<request id>"
}Last updated