Skip to content
Docs
Get early access

Remove a member

DELETE
/v1/members/{user_id}
curl --request DELETE \
--url https://api.wirevod.online/v1/members/example \
--header 'Authorization: Bearer <token>'

Requires the admin scope. You cannot remove yourself (409 cannot_remove_self) or the last owner (409 last_owner), and only owners can remove owners (403). The member’s sessions end.

user_id
required
string

Member removed.

Missing or invalid credentials.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "unauthorized",
"code": "unauthorized",
"message": "Authentication required"
}

The principal lacks the required scope or role (forbidden), the user must change their password before continuing (password_change_required), or the workspace is suspended (tenant_suspended; every request is refused until it is restored; contact support).

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "forbidden",
"code": "forbidden",
"message": "Missing required scope: write"
}

The resource does not exist in the tenant, or the route is unknown.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "not_found",
"code": "not_found",
"message": "Asset not found"
}

The request conflicts with the resource’s current state.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "upload_in_progress",
"code": "upload_in_progress",
"message": "An upload is already in progress for this asset"
}

Too many requests in the current window.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "rate_limited",
"code": "rate_limited",
"message": "Too many requests",
"details": {
"retry_after": 60
}
}
Retry-After
integer

Seconds to wait before retrying.