Skip to content

revoke_model_share

Revoke an accepted model share. Source tenant members with Owner or Editor access to the source model may revoke. Target tenant members with Owner or Editor access to the accepted target model may revoke. Pass workspace_id to act as a workspace other than your current one — it must be the request’s source or target tenant (OAuth/JWT sessions only).

NameTypeRequiredDefaultDescription
request_idAnnotated[str, Field(description='UUID of the model share request.')]Yes
workspace_id`Annotated[strNone, Field(description=“Optional UUID of a workspace other than your current one to act from (whichever of your workspaces is the request’s source or target). Omit to use your current workspace. Cross-workspace targeting requires an active membership in that workspace and is only available to OAuth/JWT sessions — API tokens stay scoped to their issuing workspace. The response echoes workspace_id so you can reuse it on follow-up calls.”)]`NoNone

Returns a structured object. Top-level fields:

  • request_id (string)
  • status (string)
  • updated_at (string)

See the response example below for the full payload shape.

{
"name": "revoke_model_share",
"arguments": {
"request_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
}
}
{
"request_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"status": "revoked",
"updated_at": "2026-04-28T10:00:00+00:00"
}
  • Module: Sharing
  • Requires authentication via API token or Auth0 JWT.