1.0.2OAS 3.0

Policy Access Point (PAP) API for role assignments, team memberships, and action resources.

API Base URL
  • Server 1:http://authorization-pap-api.kauth.svc.cluster.local:8000/v1

    Konnect cluster

Security
konnectAccessToken (http)

The Konnect access token is meant to be used by the Konnect dashboard and the decK CLI authenticate with.

Additional Information
Contact Kong

Action Resources

Operations for managing action resources for all principal types

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