Patch security
PATCH /api/v1/organisation/security
Manage the authenticated user’s organization profile, members, invitations, or deletion schedule.
Authenticate with a portal session token.
Request body (optional)
application/json OrggrcOrganisationSecurity
require_ssobooleansession_lifetimestringOne of:"1h","8h","24h","7d". Example:"8h"
Example
{
"require_sso": false,
"session_lifetime": "8h"
}Responses
200 Operation completed successfully.
application/json object
Any keys are accepted.
401 Authentication is required or invalid.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
403 The authenticated user is not permitted to perform this operation.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
404 The requested resource was not found.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
422 The request failed validation.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
429 The request was rate limited.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
text/html string