Actions

Operations for managing actions

List actions

Returns a paginated list of all actions

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

Response

200 application/json

Successful response

ListActionsResponsePaginated

metaobjectrequired

returns the pagination information

Show Child Parameters
dataarray[object]required

An action that can be performed on a resource

Show Child Parameters
get/actions
 
200 application/json

Create action

Creates a new action

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

Body

application/json

CreateActionRequest

Request body for creating an action

domainstringrequired

Domain the action is associated with

namestringrequired

Name of the action

descriptionstringrequired

Description of the action

resourcestringrequired

Resource the action is associated with

globalboolean

Flag to indicate if the action is global

actionstringrequired

Legacy format of the action

Response

application/json

Action created successfully

Action

An action that can be performed on a resource

idstringrequired

Unique identifier of the action in format $domain:$name

domainstringrequired

Domain the action is associated with

namestringrequired

Name of the action

descriptionstringrequired

Description of the action

resourcestringrequired

Resource the action is associated with

globalbooleanrequired

Flag to indicate if the action is global

actionstringrequired

Legacy format of the action

post/actions

Body

{ "domain": "domain", "name": "name", "description": "description", "resource": "resource", "action": "action" }
 
application/json

Update action

Updates an existing action

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

Path Parameters

actionIdstringrequired

Unique identifier of the action

Body

application/json

UpdateActionRequest

Request body for updating an action

descriptionstring

Description of the action

resourcestring

Resource the action is associated with

globalboolean

Flag to indicate if the action is global

actionstring

Legacy format of the action

Response

application/json

Action updated successfully

Action

An action that can be performed on a resource

idstringrequired

Unique identifier of the action in format $domain:$name

domainstringrequired

Domain the action is associated with

namestringrequired

Name of the action

descriptionstringrequired

Description of the action

resourcestringrequired

Resource the action is associated with

globalbooleanrequired

Flag to indicate if the action is global

actionstringrequired

Legacy format of the action

patch/actions/{actionId}

Body

{}
 
application/json

Delete action

Deletes an action

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

Path Parameters

actionIdstringrequired

Unique identifier of the action

Response

Action deleted successfully

delete/actions/{actionId}