PUT
/
api
/
v3
/
network-settings
/
security-configs
Update network security configuration
curl --request PUT \
  --url https://apix.us.amity.co/api/v3/network-settings/security-configs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "serverKey": {
    "expiresInHours": 500.5,
    "apiScopeEnabled": true
  },
  "adminToken": {
    "expiresInHours": 500.5
  }
}'
{
  "securityConfigs": {
    "serverKey": {
      "expiresInHours": 168,
      "apiScopeEnabled": true
    },
    "adminToken": {
      "expiresInHours": 24
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Configuration for security settings

The body is of type object.

Response

200
application/json

Security configuration

The response is of type object.