What permission is required for Shared Flow deploy to dev environment?

I need to assign Shared Flow Deploy to "dev" environment

I have given following permissions :

{
  "path" : "/sharedflows/*/revisions/*/deployments",  
  "permissions" : [ "put", "get" ]
}

But still deployment is not enabled

8672-shared-flow-error.png

0 3 289
3 REPLIES 3

Can you try

{
  "path" : "/apis/*/revisions/*/deployments",  
  "permissions" : [ "put", "get" ]
}

I have tried. Following response was returned -:

{
  "code": "resources.KnownResourceAlias",
  "message": "Did you mean {applications} in place of {apis}? If yes please use {applications} in the path. If not please use the query param force=true to create the resource.",
  "contexts": []
}

Tried by giving recommended following authority also as recommended. But still authority was not given-:

{"path":"/applications/*/revisions/*/deployments","permissions":["put","get"]}

Ahhh, yes. applications, not apis.

sorry, I answered too quickly.

Can you try

{
  "path" : "/environments/dev/applications/*/revisions/*/deployments",
  "permissions" : [ "get", "put", "delete" ]
}