Skip to main content

Leave studio

Non-owner members remove themselves. Owner cannot leave. Invalidates the caller session and studio member access the same way as removeProfileMember. Requires a Bearer session.
1 min read
delete/profiles/{studioId}/members/me
Request example
Response
delete/profiles/{studioId}/members/me

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.

Responses

No content.