List action resources for principal

Returns a paginated list of action resources for the specified principal

get
http://authorization-pap-api.kauth.svc.cluster.local:8000/v1/{principalType}/{principalId}/action-resources

Path Parameters

principalTypestringrequired

Individual principal types (users, system-accounts, portal-developers)

Allowed values:userssystem-accountsportal-developers

principalIdstring(uuid)required

Contains a unique identifier used for a principal (user, system account, portal developer, etc.)

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Response

200 application/json

Successful response

PagedActionResourceResponse

metaobjectrequired

returns the pagination information

Show Child Parameters
dataarray[object]required

An action resource representing a permission for a specific action on a resource

Show Child Parameters
get/{principalType}/{principalId}/action-resources
 
200 application/json

Internal Bootstrap

Internal operations for bootstrapping team memberships

Bootstrap team membership for user

Creates team membership and model for a user

post
http://authorization-pap-api.kauth.svc.cluster.local:8000/v1/internal/users/{userId}

Path Parameters

userIdstring(uuid)required

Contains a unique identifier used for a user

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Body

application/json

BootstrapTeamMemberRequest

Request body for bootstrapping team membership

team_idstring(uuid)required

Unique identifier of the team

team_krnstringrequired

Kong Resource Name of the team

Response

application/json

Team membership created successfully

TeamMembership

Record denoting a subject’s membership in a team

idstring(uuid)required

Unique identifier of the team

post/internal/users/{userId}

Body

{ "team_id": "team_id", "team_krn": "team_krn" }
 
application/json

Role Assignments

Operations for managing role assignments for all principal types

List role assignments for principal

Returns a paginated list of role assignments for the specified principal with optional filtering

get
http://authorization-pap-api.kauth.svc.cluster.local:8000/v1/{principalType}/{principalId}/role-assignments

Query Parameters

filter[entity_type_name]One Of

Filters on the given string field value by either exact or fuzzy match.

StringFieldEqualsFilterOne Of

Filters on the given string field value by exact match.

Variant 1string
filter[role_name]One Of

Filters on the given string field value by either exact or fuzzy match.

StringFieldEqualsFilterOne Of

Filters on the given string field value by exact match.

Variant 1string
filter[entity_id]One Of

Filters on the given string field value by either exact or fuzzy match.

StringFieldEqualsFilterOne Of

Filters on the given string field value by exact match.

Variant 1string

Path Parameters

principalTypestringrequired

Principal types that support role assignments

Allowed values:userssystem-accountsteamsportal-teams

principalIdstring(uuid)required

Contains a unique identifier used for a principal (user, system account, portal developer, etc.)

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Response

200 application/json

Successful response

PagedRoleAssignmentResponse

metaobjectrequired

returns the pagination information

Show Child Parameters
dataarray[object]required

A role assignment for a subject (user/system account)

Show Child Parameters
get/{principalType}/{principalId}/role-assignments
 
200 application/json