Users

Set the managed key access level

Set the access level for the managed key in the GeoFabric geofabric for user user.

If the access level for the managed key is not set, then the default("*") access level is used. If the default("*") access level is also not set, then the GeoFabric access level is used.

Note: Requires administrator permissions.

put/_api/user/{user}/database/{geofabric}/managedkey/{managed-key-name}

Request

Path parameters

userstring string required

The ID of the user querying the GeoFabric.

geofabricstring string required

The name of the GeoFabric.

managed-key-namestring string required

The name of the managed key.

Request body

grantstring required
  • Use "rw" to set the managed key level access to Read/Write.
  • Use "ro" to set the managed key level access to Read Only.
  • Use "none" to set the managed key level access to No access.

Example request

{
  "grant": "rw"
}

Response

Successfully changed access permissions.

unknown required

Example response

{
  "code": 200,
  "error": false,
  "_system/testManagedKey": "ro"
}

Changes

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