- Move all files from bruno-yaml/* to bruno/* - Maintains existing directory structure within categories - Updates bruno/user/auth files with OAuth2 refresh token flow - Updates bruno/user/profile files for user profile management - Adds bruno/dashboard/ directory with dashboard API tests - Preserves all existing test scenarios and OpenCollection YAML format - No functional changes - file reorganization only
39 lines
803 B
YAML
39 lines
803 B
YAML
info:
|
|
name: Reject Device Registration
|
|
type: http
|
|
seq: 7
|
|
http:
|
|
method: POST
|
|
url: '{{base_url}}/api/devices/reject/{{registration_id}}'
|
|
auth: inherit
|
|
body:
|
|
type: none
|
|
|
|
docs: |-
|
|
## Reject Device Registration
|
|
|
|
Rejects a pending device registration request.
|
|
|
|
**Method:** POST
|
|
|
|
**Endpoint:** /api/devices/reject/:registration_id
|
|
|
|
**Authentication:** Bearer token
|
|
|
|
**Path Parameters:**
|
|
- `registration_id` (string): Registration request UUID
|
|
|
|
**Response:**
|
|
- Success message confirming rejection
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
- 404: Registration not found
|
|
- 400: Invalid registration status
|
|
|
|
**Example Response:**
|
|
```json
|
|
{
|
|
"message": "device registration rejected"
|