Remove Scope Tags
Edition:REST APIs are enabled with AdminStudio Enterprise Edition.
When you send this request, it removes scope tag from the specified package present in the application catalog.
| Request Type | Description |
|---|---|
| API | http://localhost:8086/catalog/RemoveASScopeTags/?PackageId=7&ScopeTagId=15&ConnectionName=Intune |
| Method | DELETE |
| Parameters | List all parameters in the following format: ConnectionName= (Required) Specify named connection to Intune deployment system. PackageId= (Required) Specify the PackageID of the package. ScopeTagId= Specify the ID of the scope tag added to the package. |
| Connection Info | Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs |
Response
-
Example
http://localhost:8086/catalog/RemoveASScopeTags/?PackageId=7&ScopeTagId=200&ConnectionName=Intunehttp://localhost:8086/catalog/RemoveASScopeTags/?PackageId=7&ScopeTagId=2351&ConnectionName=Intunehttp://localhost:8086/catalog/RemoveASScopeTags/?PackageId=11&ScopeTagId=200&ConnectionName=Intunehttp://localhost:8086/catalog/RemoveASScopeTags/?PackageId=77&ScopeTagId=200&ConnectionName=Intune -
Response
<response>
<HasFault>false</HasFault>
<headers>
<httpHeaders>
<Host>localhost:8086</Host>
<Connection>keep-alive</Connection>
<Accept>*/*</Accept>
<User-Agent>PostmanRuntime/7.45.0</User-Agent>
<Accept-Encoding>gzip, deflate, br</Accept-Encoding>
<Postman-Token>f789caf5-445b-493c-b65f-06c5c54651c0</Postman-Token>
<ConnectionInfo>"PROVIDER=MSOLEDBSQL19;Data Source=XX.XX.XXX.XXX;Initial catalog=XXXX;user ID=XX;password=XXXXXX;"</ConnectionInfo>
</httpHeaders>
<request></request>
</headers>
<summary />
<data>ScopeTag has been Deleted Successfully</data>
</response>