You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create authentication/authorization record for an agent running in the VOLTTRON platform.
The <user_id> will become the :auth_user_id in the route returned in the Location header of the response.
Note: A <user_id> can take any value but should be unique on the platform. For local agents, this should be the actual VIP identity. The string, however is arbitrary and may have other values for remote agents to distinguish them from local versions of the same agent. Attempting to create an authorization entry will return 409 Conflict with a Content-Location header pointing to the route of the conflicting record.
Create authentication/authorization record for an agent running in the VOLTTRON platform.
The
<user_id>
will become the:auth_user_id
in the route returned in theLocation
header of the response.Request:
BEARER <jwt_token>
application/json
Response:
With valid BEARER token on success:
201 Created
/platforms/:platform/auths/:auth_user_id
With valid BEARER token on failure due to conflicting user_id:
409 Conflict
/platforms/:platform/auths/:auth_user_id
With valid BEARER token on other failure:
400 Bad Request
application/json
With invalid BEARER token:
401 Unauthorized
The text was updated successfully, but these errors were encountered: