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

NameTypeDescription

organizationId*

String

The ID of the organization

membershipId*

String

The ID of the membership

Headers

NameTypeDescription

Authorization*

String

Bearer authentication with the access token obtained using OpenID Connect

[
    { "name": "SuperAdmin", "id": "<guid>" }
]

Create Role

PUT https://identity.vulos.io/api/v1/organization/:organizationId/:membershipId/role/create

Create a new role in a specific membership.

Path Parameters

NameTypeDescription

organizationId*

String

The ID of the organization

membershipId*

String

The ID of the membership

Headers

NameTypeDescription

Authorization*

String

Bearer authentication with the access token obtained using OpenID Connect

Request Body

NameTypeDescription

name*

String

The name of the role

{ "name": "SuperAdmin", "id": "<guid>" }

Delete Role

DELETE https://identity.vulos.io/api/v1/organization/:organizationId/:membershipId/role/:roleId/delete

Delete a specific role.

Path Parameters

NameTypeDescription

organizationId*

String

The ID of the organization

membershipId*

String

The ID of the membership

roleId*

String

The ID of the role

Headers

NameTypeDescription

Authorization*

String

Bearer authentication with the access token obtained using OpenID Connect

{
     "success": true,
     "message": "A message describing the successful response"
}

Last updated