plta-permissions-api-cbz

Create a resource as child of another resource

Create a new resource and immediately link it as a child of the specified parent resource. This operation combines resource creation and hierarchy establishment in a single step.

post
https://dev.api.sanofi.com/permissions/resources/{resourceName}/children

Path Parameters

resourceNamestringrequired

The name of the parent resource

Body

application/json

Resource

Represent a resource,

resourceNamestringrequired

The business identifier of the resource (such as a CSA for a analysis period, etc)

Response

application/json

Created

Resource

Represent a resource,

childrenarray[string]read-only

the name of the resource children

resourceNamestringrequired

The business identifier of the resource (such as a CSA for a analysis period, etc)

post/resources/{resourceName}/children

Body

{ "resourceName": "resourceName" }
 
application/json