post https://api.{region}.rockset.com/v1/orgs/self/users//apikeys/
Update the state of an API key for any user in your organization.
Log in to see full request history
Responses
Update the state of an API key for any user in your organization.
xxxxxxxxxx
curl --request POST \
--url https://api.usw2a1.rockset.com/v1/orgs/self/users/user/apikeys/name \
--header 'Authorization: ApiKey YOUR_ROCKSET_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
13{
"data": {
"created_at": "2001-08-28T00:23:41Z",
"created_by": "test@rockset.com",
"created_by_apikey_name": "string",
"expiry_time": "2001-08-28T00:23:41Z",
"key": "aB35kD",
"last_access_time": "2001-08-28T00:23:41Z",
"name": "my-key",
"role": "read-only",
"state": "ACTIVE"
}
}