Deny sign-in code
Denies the sign-in code. The app receives access_denied on its next token request.
POST
/v1/hq/oauth/sign_in_codes/{user_code}/denyAuthorization
BearerTokenAuth
AuthorizationBearer <token>
The Noona HQ API uses Bearer token for authentication.
Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.
Authorization: Bearer your-token
In: header
Path Parameters
user_code*string
Example
"WDJB-MJHT"Response Body
application/json
curl -X POST "https://api.noona.is/v1/hq/oauth/sign_in_codes/WDJB-MJHT/deny"{
"user_code": "WDJB-MJHT",
"client_id": "7awdXwZoedakjad37a",
"app": {
"name": "Noona CLI",
"logo": "https://noona.is/logo.png"
},
"scopes": [
"activities:read"
],
"expires_at": "2020-08-24T14:15:22Z"
}Empty
Empty
Empty
Empty