Get OIDCTrust Relationship

gethttps://app.fossa.com/api/oidc/trust-relationships/{id}

Get a specific OIDC Trust Relationship by ID. Requires a **premium** subscription; organizations below that tier receive a `403`. If the trust relationship does not exist, belongs to another organization, or the caller lacks permission to view it, the endpoint responds with `401` (it does not distinguish these cases with a `404`).

Path parameters

idintegerrequired

The ID of the OIDC Trust Relationship

Responses

200Successfully retrieved OIDC Trust Relationship
object
401Unauthorized
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

403Forbidden — requires a premium subscription.
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

500Server Error
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

Try this endpoint

Build a request and run it against app.fossa.com.

Bearer

Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.

GET https://app.fossa.com/api/oidc/trust-relationships/123
curl --request GET \  --url 'https://app.fossa.com/api/oidc/trust-relationships/123' \  --header 'accept: application/json' \  --header 'authorization: Bearer YOUR_API_TOKEN'

Real request. Mutating methods can change data.

Click Try It to run a request and see the response here.
Enter a Bearer token before running this request.

Path params

idintegerrequired

The ID of the OIDC Trust Relationship