Delete role

Deletes a role

delete
http://authorization-admin-api.kauth.svc.cluster.local:8000/v1/roles/{roleId}

Path Parameters

roleIdstringrequired

Unique identifier of the role

Response

Role deleted successfully

delete/roles/{roleId}
 

Teams

Operations for managing teams

List teams

Returns a paginated list of all teams

get
http://authorization-admin-api.kauth.svc.cluster.local:8000/v1/teams

Response

200 application/json

Successful response

TeamsResponse

metaobjectrequired

returns the pagination information

Show Child Parameters
dataarray[object]required

A team that can be assigned roles

Show Child Parameters
get/teams
 
200 application/json

Create team

Creates a new team

post
http://authorization-admin-api.kauth.svc.cluster.local:8000/v1/teams

Body

application/json

CreateTeamRequest

Request body for creating a team

domainstringrequired

Domain the team is associated with

namestringrequired

Name of the team

display_namestringrequired

Display name of the team

descriptionstringrequired

Description of the team

feature_flagstring | null

Optional feature flag which guards the team

rolesarray[string]required

List of roles assigned to the team

Response

application/json

Team created successfully

Team

A team that can be assigned roles

idstringrequired

Unique identifier of the team

domainstringrequired

Domain the team is associated with

namestringrequired

Name of the team

display_namestringrequired

Display name of the team

descriptionstringrequired

Description of the team

feature_flagstring | nullrequired

Optional feature flag which guards the team

rolesarray[string]required

List of roles assigned to the team

post/teams

Body

{ "domain": "domain", "name": "name", "display_name": "display_name", "description": "description", "roles": [] }
 
application/json

Update team

Updates an existing team

patch
http://authorization-admin-api.kauth.svc.cluster.local:8000/v1/teams/{teamId}

Path Parameters

teamIdstringrequired

Unique identifier of the team

Body

application/json

UpdateTeamRequest

Request body for updating a team

display_namestring

Display name of the team

descriptionstring

Description of the team

feature_flagstring | null

Optional feature flag which guards the team

rolesarray[string]

List of roles assigned to the team

Response

application/json

Team updated successfully

Team

A team that can be assigned roles

idstringrequired

Unique identifier of the team

domainstringrequired

Domain the team is associated with

namestringrequired

Name of the team

display_namestringrequired

Display name of the team

descriptionstringrequired

Description of the team

feature_flagstring | nullrequired

Optional feature flag which guards the team

rolesarray[string]required

List of roles assigned to the team

patch/teams/{teamId}

Body

{}
 
application/json