/oidc/providers/{id}/available-service-accounts

This endpoint returns service accounts that can be used when creating new trust relationships for an OIDC Provider. If the user making the request has organization-level permission to manage trust relationships, then this will return all available service accounts. Otherwise, if the user only has team-level permission to manage trust relationships, then a teamId query parameter must be provided to filter the available service accounts to only those on the team.

Path Params
integer
required

The ID of the OIDC Provider

Query Params
integer

The team ID that the service account must be a member of. Required if the user making the request only has team-level permission to manage trust relationships. If the user has organization-level permission then this parameter has no effect.

integer
1 to 50
Defaults to 10

Number of service accounts to return

integer
≥ 0
Defaults to 0

ID of the last service account from the previous page for pagination

Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json