curl --request DELETE \
--url https://bloodhound.specterops.io/openapi.json/api/v2/saved-queries/{saved_query_id}/permissions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'"[this request has no response data]"Revokes permission of a saved query from a given set of users
curl --request DELETE \
--url https://bloodhound.specterops.io/openapi.json/api/v2/saved-queries/{saved_query_id}/permissions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'"[this request has no response data]"Authorization: Bearer $JWT_TOKEN
Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.
ID of the saved query
The request body for revoking permissions of a saved query from users
A list of user ids that will have their permission revoked from the given saved query
No Content This response will contain no response body.
The response is of type string.