cancel
Showing results for 
Search instead for 
Did you mean: 

Giving endpoint-level access to access profiles

hhhappycat
Deputy Chef I
Deputy Chef I

Hi everyone,

I am currently facing this problem on API Platform:

  • I want to give an access profile specific access to an endpoint.
  • This endpoint is currently in a collection with other related endpoints.
  • However, I can only give access by collections, so I have to create a separate collection containing a duplicate of the original endpoint.

Is there any other way to do this - give specific endpoint access/permissions to access profiles - without creating a new collection with a duplicate of the endpoint?

Thank you in advance for your answers!

1 ACCEPTED SOLUTION

pavan-narayan
Deputy Chef III
Deputy Chef III

Hi @hhhappycat ,

Currently when you create a access profile it will ask you to choose the API Collection itself and not individual End points inside the collection.

Other way you can approach is to pull out the Specific endpoint from the collection and create a new collection to it.You can't duplicate the endpoint.

Collection 1 : -  A , B ,C  (You want to give access to Endpoint  B) 
Collection 2 : -  B (Pluck out the Endpoint B )

Let me know if this helps

Regards,
Pavan Srikar N

View solution in original post

1 REPLY 1

pavan-narayan
Deputy Chef III
Deputy Chef III

Hi @hhhappycat ,

Currently when you create a access profile it will ask you to choose the API Collection itself and not individual End points inside the collection.

Other way you can approach is to pull out the Specific endpoint from the collection and create a new collection to it.You can't duplicate the endpoint.

Collection 1 : -  A , B ,C  (You want to give access to Endpoint  B) 
Collection 2 : -  B (Pluck out the Endpoint B )

Let me know if this helps

Regards,
Pavan Srikar N