Update Organization Saml Settings
https://app.fossa.com/api/organizations/{id}/samlUpdate SAML SSO settings for an organization
Path parameters
idintegerrequiredRequest body (required) · application/json
entryPointstringrequiredIdentity Provider Single Sign On URL
certstringrequiredX.509 Certificate from the identity provider
audiencestringrequiredAudience URI / SP Entity ID
orgRoleManagementenumWhether Organization Roles should be managed by FOSSA, the Identity Provider, or both
fossaidpmixedteamRoleManagementenumWhether Teams and Team Roles should be managed by FOSSA, the Identity Provider, or both
fossaidp_teams_fossa_rolesidpmixedcreateMissingTeamsbooleanWhether to automatically create teams that are specified in SAML attributes but don't exist in the organization yet
Responses
200OKidintegerorganizationIdintegerentryPointstringcertstringaudiencestringorgRoleManagementenumfossaidpmixedteamRoleManagementenumfossaidp_teams_fossa_rolesidpmixedcreateMissingTeamsbooleancallbackUrlstringloginUrlstringaudienceUrlstringcreatedAtstring <date-time>updatedAtstring <date-time>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
403ForbiddenuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
404NotFounduuidstringUnique 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.
PUT https://app.fossa.com/api/organizations/1/samlcurl --request PUT \ --url 'https://app.fossa.com/api/organizations/1/saml' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN' \ --header 'content-type: application/json' \ --data '{ "entryPoint": "https://sso.example.com/saml2/idp", "cert": "-----BEGIN CERTIFICATE-----\nMIIFczCCA1ugAwIBAgIVANqq2WZ8FdYKSTIb0z2si06t2TnhMA0GCSqGSIb3DQEB\nCwUAMHMxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDTzEQMA4GA1UEBxMHQm91bGRl\n...\n-----END CERTIFICATE-----", "audience": "http://localhost:9578/account/saml/1/6a817616-7f73-4381-96f5-01e35908ed80", "orgRoleManagement": "mixed", "teamRoleManagement": "idp_teams_fossa_roles", "createMissingTeams": true}'Real request. Mutating methods can change data.
Path params
idintegerrequired