Skip to content
View source specification ↗
GET /principals/{principalId}

Returns one authorized principal and its strong version.

Required scope

Any authenticated access token

Path parameters

principalIdstringRequired

Server-assigned principal identifier or its final ID segment.

Returns

200

Stored resource returned; authorized retries replay the same committed response for 24 hours.

Fields

Principal

Response headers

ETagstring

Strong entity tag matching the response body.

Errors

401 UNAUTHORIZED

Authentication required.

Obtain a valid access token, then retry.

403 FORBIDDEN

Permission denied.

Check the linked account and its permissions for the device or resource.

404 NOT_FOUND

Principal not found.

Verify the target identifier and that its endpoint or plugin route still exists.