Skip to main content
POST
/
v1
/
platforms
/
me
/
allowed-ips
Add allowed IP range
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({cidr: '<string>', description: '<string>'})
};

fetch('https://api.keystoneos.xyz/v1/platforms/me/allowed-ips', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cidr": "<string>",
  "description": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Auth0 JWT access token. See Authentication for details.

Body

application/json
cidr
string
required
description
string | null

Response

Successful Response

id
string<uuid>
required
cidr
string
required
description
string | null
required
created_at
string<date-time>
required