Users

Authorize a user

Authorizes a user resource (a house) to another user

post/users/{userId}/authorize-user

Request

  • Base URL
    https://connect.clever.gy
  • Auth
    API key in header clevergy-api-key

Path parameters

userIdstring uuid required

The ID of the owner user

Request body

cupsstring required

The ID of the supply point to authorize

authorizedUserIdstring required

The ID of the user to authorize

status'AUTHORIZED' | 'REVOKED' required

The authorization status

Response

Authorized successfully

Changes

No recorded changes to this operation across all 1 revision of this API.