Revoke api key
Ask the person to approve revoking a company API key, say one that leaked or belongs to a script nobody runs anymore.
Authentication
Authorization<token>A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.
companyId*string1 <= lengthapplication/json- body
apiKeyId*stringFrom api_keys_list.
uuidWaiting for the person to approve
application/json- response
id*stringaction*stringparams*status*stringpending until the person decides; succeeded, failed (see result.error), rejected, or expired after an hour without a decision.
"pending""executing""succeeded""failed""rejected""expired"result*|nullurl*stringWhere the person reviews and approves the request.
createdTime*stringexpiresTime*stringdecidedTime*string|nullnextAction*stringWhat to do with the link.
curl -X POST 'https://api.saasflow.com/companies/string/access_requests/revoke_api_key' \ -H 'Content-Type: application/json' \ -d '{ "apiKeyId": "37ba0474-c0bb-4910-bfb5-d6cebb614366"}'{ "id": "string", "action": "string", "params": { "property1": null, "property2": null }, "status": "pending", "result": { "apiKeyId": "string", "error": "string" }, "url": "string", "createdTime": "string", "expiresTime": "string", "decidedTime": "string", "nextAction": "string"}Create api key
Ask the person to approve creating a company API key, for a script or integration they run. The key is shown to the person once, in the app; it is never…
Delete company
Ask the person to approve deleting the company with all its data. This cannot be undone; only ask when the person said so in plain words.