Approve Grant
POST/users/:id/grants/approve
Approve a manager request (manager approves being added by the child user)
Request
Path Parameters
id stringrequired
The user ID of the manager (grantee) approving the request
- application/json
Body
required
grantor_user_id stringrequired
The user ID of the child user who proposed the manager (grantor)
Responses
- 200
- 400
- 401
- 403
- 500
Grant approved successfully
- application/json
- Schema
- Example (from schema)
Schema
success boolean
Whether the operation was successful
transaction_hash string
The blockchain transaction hash
{
"success": true,
"transaction_hash": "string"
}
Bad request
Unauthorized
Forbidden
Server error
Loading...