Gamma API

Get the security report

GET
/api/organizations/{slug}/security

The organization's two-factor policy, and each member's sign-in, two-factor and password facts.

Who may call it: An owner, security admin or admin of the organization. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

slug*string

The organization's slug, as in its URL.

Response Body

OK.

application/json
  1. response

The organization's security policy and how each member measures up to it.

requireTwoFactor*boolean

Members must have two-factor authentication on to reach the organization and its projects.

members*array<>
Example Request
curl -X GET 'http://localhost:3000/api/organizations/string/security'
Example Response
{  "requireTwoFactor": true,  "members": [    {      "memberId": "string",      "userId": "string",      "name": "string",      "email": "string",      "role": "string",      "lastLoginAt": "2019-08-24T14:15:22Z",      "twoFactorEnabled": true,      "passwordChangedAt": "2019-08-24T14:15:22Z"    }  ]}