Plug Database icon

Plug Database

Run Plug Database commands over REST or Socket.

User Access → Reject Access Request

AI-generated

Summary

Reject an access request identified by its Request ID, optionally including Plug metadata in the response.

Inputs

  • Request ID (required) — The client access request identifier to be rejected.
  • Include Plug Metadata — Boolean flag to include the __plug object with operation and pagination metadata in the response; defaults to true.

Output shape

a single JSON item containing details of the rejected access request, optionally including the __plug metadata object.

The output includes the details of the rejected request. If 'Include Plug Metadata' is true, the response includes the __plug object with operation and pagination metadata.

Examples

Example 1: Reject an access request with ID 'abc123' and include metadata in the response.

Set 'Request ID' to 'abc123' and leave 'Include Plug Metadata' as true (default).

Example 2: Reject an access request with ID 'xyz789' without metadata in the response.

Set 'Request ID' to 'xyz789' and 'Include Plug Metadata' to false.

Links

Discussion