Skip to content

Delete Service

DELETE
/api/v1/sectors/{sectorID}/services/{id}
curl --request DELETE \
--url https://api.spartanauth.com/api/v1/sectors/example/services/example

Deletes a service. New tokens cannot be minted and new introspection checks fail. A receiver that already cached a token accepts it until that token expires. Requires sector-admin or tenant-root admin access.

sectorID
required
string
id
required
string

A successful response.

Media type application/json
object
status
string
message
string
Example generated
{
"status": "example",
"message": "example"
}

An unexpected error response.

Media type application/json
object
code
integer format: int32
message
string
details
Array<object>
object
@type
string
key
additional properties
Example generated
{
"code": 1,
"message": "example",
"details": [
{
"@type": "example"
}
]
}