API Keys

Set the billing access level

Sets the billing access levels for API key with keyid.

Note: Requires administrator permissions.

put/_api/key/{keyid}/billing

Request

Path parameters

keyidstring string required

The id of the API key.

Request body

grantstring required
  • Use "rw" to set the GeoFabric access level to Administrate.
  • Use "ro" to set the GeoFabric access level to Access.
  • Use "none" to set the database access level to No access.

Example request

{
  "grant": "rw"
}

Response

Successfully changed access level.

codeinteger

HTTP response code.

errorboolean

Flag if there is an error in response. False for this response.

resultstring

Example response

{
  "code": 200,
  "result": "rw"
}

Changes

No recorded changes to this operation across all 1 revision of this API.