/users/service-accountsAsk AIpost https://app.fossa.com/api/users/service-accountsCreate a new service account with specified roles and optional API tokensBody Paramsusernamestringrequiredlength between 1 and 255The username for the service accountemailstringlength ≤ 255Optional email address for the service accountfullNamestringlength between 1 and 255Optional full name/description for the service accountorgRoleIdinteger≥ 1ID of the organization role to assign to the service account. At least one of orgRoleId or team must be provided.teamobjectTeam assignment for the service account. At least one of orgRoleId or team must be provided.team objecthasPushOnlyApiTokenbooleanDefaults to falseWhether to create a push-only API token for the service accounttruefalsehasFullApiTokenbooleanDefaults to falseWhether to create a full access API token for the service accounttruefalseResponses 201Service account created successfully 400Bad Request 403Forbidden 404Team not found 500Server ErrorUpdated 6 months ago