Skip to content

revoke_model_share

Revoke an accepted model share. Source tenant members with Owner or Editor access to the source project may revoke. Target tenant members with Owner or Editor access to the accepted target project may revoke. Records the revocation in the audit trail; does NOT delete the file from the target repo — the target tenant retains their copy. Returns: request_id, status=‘revoked’, updated_at.

NameTypeRequiredDefaultDescription
request_idAnnotated[str, Field(description='UUID of the model share request.')]Yes

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.