plta-permissions-api-cbz

Create an action as child of another action

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

post
https://dev.api.sanofi.com/permissions/actions/{actionName}/children

Path Parameters

actionNamestringrequired

The name of the parent action

Body

application/json

Action

A possible action that can be used on a resource

actionNamestringrequired

The name of the action

Example:read_narrative, send_email, write_compound

Response

application/json

Created

Action

A possible action that can be used on a resource

actionNamestringrequired

The name of the action

Example:read_narrative, send_email, write_compound

childrenarray[string]read-only

the name of the action children

post/actions/{actionName}/children

Body

{ "actionName": "read_narrative" }
 
application/json