diff --git a/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/SPApplicationService.java b/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/SPApplicationService.java index 002c54de46..9070ff29ba 100644 --- a/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/SPApplicationService.java +++ b/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/SPApplicationService.java @@ -149,7 +149,7 @@ public interface SPApplicationService { Response getServiceProviders(@QueryParam("limit") Integer limit, @QueryParam("offset") Integer offset, @PathParam("identity-server-id") int identityServerId); - @Path("/{identity-server-id}/service-provider/{service-provider-id}/applications") + @Path("/{identity-server-id}/service-provider/{service-provider-id}/attach") @POST @Produces(MediaType.APPLICATION_JSON) @ApiOperation( @@ -170,7 +170,7 @@ public interface SPApplicationService { /** * This method is used to register an APIM application for tenant domain. */ - @Path("/{identity-server-id}/service-provider/{service-provider-id}/delete/applications") + @Path("/{identity-server-id}/service-provider/{service-provider-id}/detach") @POST @Produces(MediaType.APPLICATION_JSON) @ApiOperation( diff --git a/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/impl/SPApplicationServiceImpl.java b/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/impl/SPApplicationServiceImpl.java index 52696b0981..4a649c75ea 100644 --- a/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/impl/SPApplicationServiceImpl.java +++ b/components/application-mgt/io.entgra.application.mgt.publisher.api/src/main/java/io/entgra/application/mgt/publisher/api/services/impl/SPApplicationServiceImpl.java @@ -98,7 +98,7 @@ public class SPApplicationServiceImpl implements SPApplicationService { } } - @Path("/{identity-server-id}/service-provider/{service-provider-id}/applications") + @Path("/{identity-server-id}/service-provider/{service-provider-id}/attach") @POST @Override public Response attachApps(@PathParam("identity-server-id") int identityServerId, @@ -116,7 +116,7 @@ public class SPApplicationServiceImpl implements SPApplicationService { return Response.status(Response.Status.OK).build(); } - @Path("/{identity-server-id}/service-provider/{service-provider-id}/delete/applications") + @Path("/{identity-server-id}/service-provider/{service-provider-id}/detach") @POST @Override public Response detachApps(@PathParam("identity-server-id") int identityServerId,