Create Share
Create a resource share.
Request
URI
POST
https://{api_host}/tca/tenancy/api/v1/orgs/{tenancyShareOrgId}/shares
COPY
Path Parameters
string
tenancyShareOrgId
Required
The identifier of the tenant/organization
tenancyShareOrgId example
c11ade69-5f11-4bef-9cbe-d52fcecb5bea
Request Body
The share
shareBase of type(s) application/json
Required
{
"type": "string",
"objectId": "dbdc8f6b-8a97-4006-bd79-50230e1e64a2",
"objectType": "string",
"tenantId": "8e6ae5a4-d2d1-4ed1-833c-923dfa6988d3"
}
string
objectId
Required
The identifier of the object
string
tenantId
Required
the identifier of the tenant with which the resource is shared
Responses
201
Successfully created the resource share
Returns share of type(s) application/json
This response body class contains all of the following: shareBase , Inlineshare1
{
"type": "string",
"objectId": "dbdc8f6b-8a97-4006-bd79-50230e1e64a2",
"objectType": "string",
"tenantId": "8e6ae5a4-d2d1-4ed1-833c-923dfa6988d3",
"id": "fc0a0058-3cfd-44b1-a91d-5110d48a63e2",
"createdAt": "2023-02-13T13:19:37.448Z",
"creationUser": "[email protected]",
"creationTenantId": "001c44fd-b160-4297-925a-5ae11cc6b1d8"
}
400
Bad Request
Returns errorResponse of type(s) application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
500
Internal Server Error
Returns errorResponse of type(s) application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}