Take someone's access to the dashboard away
Removes an email address from this brand's dashboard, as the team panel does. Their agent tokens stop working with it. You cannot remove yourself, or the last person on the team.
https://api.tryscouty.com/v1/team - Scope
team:manage - Write
- Safe to retry
- MCP tool
scouty_remove_team_member
Authorization
Send a Scouty token as a bearer token in the Authorization header. The token needs the team:manage scope, or the call answers 403 insufficient_scope. Tokens and scopes
Authorization: Bearer $SCOUTY_TOKENHeaders
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | Optional | The same key the body's idempotencyKey carries. Send one or the other, or both with the same value. |
Body parameters
A JSON object, sent with Content-Type: application/json.
| Name | Type | Required | Description |
|---|---|---|---|
idempotencyKey | string | Required | A key you choose for this call, 8 to 128 characters of letters, digits, dot, underscore, colon or hyphen. Sending the same key with the same arguments replays the first answer and changes nothing, so a retry after a timeout is safe. |
email | string | Required | The person's email address. It is the Google account they sign in with. |
Details
scouty_remove_team_member takes an email address off your dashboard. Any agent token that person made stops working. You cannot remove yourself (the person whose token is calling), or the last person on the team.
json
{ "status": "removed" }Errors
A refusal answers { "error": { "code", "message" } }. Branch on code; the message is for a person. Every error and its fix
| Status | error.code | Meaning |
|---|---|---|
| 400 Bad Request | invalid_request | The request was not the shape this capability takes, or its body was not JSON. |
| 401 Unauthorized | missing_token invalid_token token_revoked token_expired token_orphaned | No token, or one that is not recognized, revoked or expired. |
| 403 Forbidden | insufficient_scope wrong_principal | The token does not carry the scope this capability needs. |
| 409 Conflict | idempotency_conflict | That idempotency key was already used for a different request. Nothing was changed. |
| 429 Too Many Requests | rate_limited | Too many requests this minute. Retry-After says how long is left. |