Usage requests

Dismiss a usage request

Changed on

Declines a pending request as the key's service account. To approve, raise the member's limit or plan with the user PUT endpoints instead.

post/billing/v1/bring-your-own-keys/usage-requests/{requestId}/dismiss

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/billing/v1/bring-your-own-keys/usage-requests/{requestId}/dismiss
  • Auth
    HTTP bearer

Response

The dismissed request.

idstring uuid required
userIdstring uuid required
emailstring email

Present only when the key also has the USER_MANAGEMENT_API scope.

namestring nullable

Present only when the key also has the USER_MANAGEMENT_API scope.

status'pending' | 'resolved' | 'dismissed' required
createdAtstring date-time required
resolvedAtstring date-time nullable required
resolution'increased_limit' | 'upgraded_plan' | 'dismissed' | 'null' nullable required

How the request was answered; null while pending.

resolvedByUserIdstring uuid nullable required

Admin or service account that answered the request.

Changes