- List all delegation links
Lists all delegation links. Use the filter query parameter to filter results.
The AND and OR logical operators are supported for combining expressions. Use parentheses to control precedence when combining OR with AND.
To filter by multiple source clients, use OR: from.clientOrn eq "orn:...client1" OR from.clientOrn eq "orn:...client2"
To filter by multiple target resources, use OR: to.resourceOrn eq "orn:...A" OR to.resourceOrn eq "orn:...B"
To narrow target resources by source client, combine with AND and parentheses: (to.resourceOrn eq "orn:...A" OR to.resourceOrn eq "orn:...B") AND from.clientOrn eq "orn:...client1"
Results are sorted by to.resourceOrn. Resources with no matching delegation links have no entry in the response.
A required filter expression to return delegation links. The expression supports the eq operator and the following properties. At least one of these properties must be present in the filter:
to.resourceOrn: The ORN of the target resource (supportseq). Use theORoperator to specify multiple values.from.clientOrn: The ORN of the source client (supportseq). Use theORoperator to specify multiple values.from.clientType: The type of the source client (supportseq). The only currently supported value isapps, which restricts results to delegation links whose source is an OAuth 2.0 application.
The AND and OR logical operators are supported for combining expressions. Use parentheses to control precedence when combining OR with AND.
Note: This operation requires URL encoding. See Special characters.
The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the Link response header. See Pagination and Link header.
If specified, additional data is included on each item under an _embedded attribute. The parameter accepts multiple values; repeat the parameter to request more than one (e.g. ?expand=appMetadata&expand=customAuthorizationServerMetadata).
Supported values:
appMetadata: Adds_embedded.appMetadatawith metadata about the OAuth 2.0 client referenced byfrom.clientOrn. Omitted whenfrom.clientOrnreferences an AI agent.agentMetadata: Adds_embedded.agentMetadatawith metadata about the AI agent referenced byfrom.clientOrn. Omitted whenfrom.clientOrnreferences an OAuth 2.0 client.customAuthorizationServerMetadata: Adds_embedded.customAuthorizationServerMetadatawith metadata about the custom authorization server referenced byto.authorizationServerOrn. Skipped when the link uses the org authorization server.
- https://subdomain.okta.comhttps://subdomain.okta.com/workload-principals/api/v1/delegation-links
curl -i -X GET \
'https://subdomain.okta.com/workload-principals/api/v1/delegation-links?filter=to.resourceOrn%20eq%20%22orn%3Aokta%3Adirectory%3A00o4p0z0f8s5rNkEJ8g6%3Aworkload-principals%3Aai-agents%3Awlp25spbxqmZzyS4f0h8%22&after=string&limit=20&expand=appMetadata'