Get OIDCTrust Relationship
https://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
idintegerrequiredThe ID of the OIDC Trust Relationship
Responses
200Successfully retrieved OIDC Trust Relationship401UnauthorizeduuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
403Forbidden — requires a premium subscription.uuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
500Server ErroruuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
Try this endpoint
Build a request and run it against app.fossa.com.
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/123curl --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.
Path params
idintegerrequiredThe ID of the OIDC Trust Relationship