Skip to content

reject_model_share_request

Reject a pending model share request. Caller must have Owner or Editor access to the suggested target model in the acting workspace (your current one, or workspace_id if passed — must be the request’s target tenant; OAuth/JWT sessions only). If the target model does not yet exist, workspace Owner role is also accepted. Returns: request_id, status=‘rejected’, updated_at, workspace_id.

NameTypeRequiredDefaultDescription
request_idAnnotated[str, Field(description='UUID of the model share request.')]Yes
workspace_id`Annotated[strNone, Field(description=WORKSPACE_ID_FIELD_DESCRIPTION)]`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": "reject_model_share_request",
"arguments": {
"request_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
}
}
{
"request_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"status": "rejected",
"updated_at": "2026-04-28T10:00:00+00:00"
}
  • Module: Sharing
  • Requires authentication via API token or Auth0 JWT.