Deny device authorization
curl --request POST \ --url https://api.grepvine.ai/v1/device/authorizations/deny \ --header 'Content-Type: application/json' \ --cookie __Host-grepvine-session=<__Host-grepvine-session> \ --data '{ "user_code": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Required for a state change that uses cookie authentication.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Example generated
{ "user_code": "example"}Responses
Section titled “Responses”The device authorization was denied.
The resource does not exist or is not visible.
object
Example generated
{ "code": "example", "reason": "example", "error": "example"}Headers
Section titled “Headers”The request identifier used for support and audit correlation.
default
Section titled “default”The request failed. A 429 carries Retry-After; the index is busy absorbing recent writes or is out of request capacity, and clients must slow down and retry after the interval. A 403 with code organization_suspended refuses every operation on a suspended organization’s members, indexes, documents and searches; reading the organization itself still answers and reports suspended, and the client should contact support.
object
Example generated
{ "code": "example", "reason": "example", "error": "example"}Headers
Section titled “Headers”The request identifier used for support and audit correlation.
Seconds to wait before retrying. Sent with every 429 so a client slows down instead of failing.