v51

latestOpenAPI 3.0.3AGPL-3.0-or-laterraw.githubusercontent.com2026-08-017215661.2 KB
context

[api v2] Transfer the ownership of a context and return it

put/ocs/v2.php/apps/tables/api/2/contexts/{contextId}/transfer

Path parameters

contextIdinteger required

ID of the context

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

newOwnerIdstring required

ID of the new owner

newOwnerTypeinteger

any Application::OWNER_TYPE_* constant

Response

Ownership transferred