cURL
curl --request DELETE \ --url https://api.dataraven.io/v1/teams/{team_id} \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Delete a team and all associated data.
Required Role: OWNER only
Prerequisites: All child resources must be deleted first:
Returns 409 Conflict with details if resources still exist.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response