ci-runner, ada's laptop), not an account.DELETE …/passwordless/{sessionId}. An api key is bound to a role atPOST …/keys with role.access:write (area resource, on the database).curl --location 'https://api.prod-orm.io/provision/databases//roles//grant' \
--header 'Content-Type: application/json' \
--data '{
"label": "string",
"expiresAt": "2019-08-24T14:15:22.123Z",
"auth": "secret",
"teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec"
}'{
"grant": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"role": "string",
"entId": "string",
"scope": {
"ops": [
"read"
],
"tables": [
"string"
],
"columns": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"label": "string",
"auth": "secret",
"principal": "string",
"tlsFingerprint": "string",
"poolId": 0,
"lastUsedAt": "2019-08-24T14:15:22.123Z",
"expiresAt": "2019-08-24T14:15:22.123Z",
"revokedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z"
},
"secret": "string",
"secretSeenOnce": true,
"client": {
"sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
"role": "string",
"entId": "d715fdbf-166d-45cf-86f0-644c00a79914",
"windowSeconds": 30
},
"tls": {
"ca": "string",
"cert": "string",
"key": "string"
},
"kerberos": {
"realm": "string",
"principal": "string",
"service": "string",
"kdc": "string",
"keytab": "string"
}
}