Create OIDCProvider
https://app.fossa.com/api/oidc/providersCreate a new OIDC Provider. Requires a **premium** subscription; organizations below that tier receive a `403`. If the caller lacks permission to create the provider, the endpoint responds with `401`.
Request body (required) · application/json
Responses
201Successfully created OIDC ProvideridintegerrequiredThe unique identifier of the OIDC Provider
organizationIdintegerrequiredThe ID of the organization this provider belongs to
issuerstringrequiredThe issuer URL of the OIDC Provider
scopeenumrequiredThe scope level of the OIDC Provider
orgteamscopeIdintegerrequiredThe ID associated with the scope: either the organization ID or the team ID
createdAtstring <date-time>requiredWhen the OIDC Provider was created
updatedAtstring <date-time>requiredWhen the OIDC Provider was last updated
400Bad RequestuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
401UnauthorizeduuidstringUnique 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.
POST https://app.fossa.com/api/oidc/providerscurl --request POST \ --url 'https://app.fossa.com/api/oidc/providers' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN' \ --header 'content-type: application/json' \ --data '{ "issuer": "https://oidc.example.com", "scope": "team", "scopeId": 789}'Real request. Mutating methods can change data.