You can delete the sign up details of an application using the CLI tool, REST API or the Private PaaS console (UI) PPaaS Console as shown below:
Localtabgroup |
---|
Localtab |
---|
| Deleting the sign up details of an application via the CLIOverviewCLI command | remove-application-signup
| Description | Remove an application sign up. | Command format | Code Block |
---|
remove-application-signup <APPLICATION_ID> |
|
Parameter definitionShort option | Long option | Description | Required | Example value |
---|
N/A | N/A | Application ID. | Yes | wso2am-190-application |
ExampleDelete the application sign up of the application named wso2am-190-application. Code Block |
---|
remove-application-signup wso2am-190-application |
Sample output Code Block |
---|
Application sign up removed successfully: [application] wso2as-521-application |
|
Localtab |
---|
| Deleting the sign up details of an application via the REST APIOverviewDescription | Delete sign up details that correspond to a specific application. | Resource Path | /applications/{applicationId}/signup
| HTTP Method | DELETE | Request/Response Format | application/json
| Command format | Code Block |
---|
curl -X DELETE -H "Content-Type: application/json" -k -v -u <USERNAME>:<PASSWORD> https://<PRIVATE_PAAS_HOST>:<PRIVATE_PAAS_HTTPS_PORT>/api/applications/{applicationId}/signup |
Info |
---|
- By default,
<USERNAME>:<PASSWORD> is admin:admin. - By default,
<PRIVATE_PAAS_HOST> is localhost. However, if you are using a public IP, the respective IP address or domain needs to be specified. - By default,
<PRIVATE_PAAS_HTTPS_PORT> has been set to 9443. However, if the port offset has been incremented by n , the default port value needs to be incremented by n .
|
|
ExampleDelete the application sign up of the application named wso2am-190-application . Code Block |
---|
curl -X DELETE -H "Content-Type: application:json" -k -v -u admin:admin https://localhost:9443/api/applications/wso2am-190-application/signup |
Sample output Code Block |
---|
> DELETE /api/applications/wso2as-521-application/signup HTTP/1.1
> Host: localhost:9443
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Type: application:json
>
< HTTP/1.1 200 OK
< Date: Tue, 13 Oct 2015 09:23:35 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Server: WSO2 Carbon Server
<
{"status":"success","message":"Application sign up removed successfully: [application] wso2as-521-application"} |
You will come across the following HTTP status codes while deleting the the sign up details of an application: HTTP status code | 204, 500 See the descriptions of the HTTP status codes here. |
|
Localtab |
---|
title | Private PaaS consolePPaaS Console |
---|
| Deleting the sign up details of an application via the REST APIthe PPaaS ConsoleFollow the instructions below to deploy an application: - Click Applications on the home page.
Image Added - Click Remove Sign up.
Image Added - Click Yes to delete the sign up details of the application.
|
|
...