The X-Scope-Identifier
header plays a crucial role when creating a Subject. It defines the context (scope) in which the Subject is created, ensuring the API_KEY
you are generating is connected to a specific Asset UNIT
.
Other use case
If you're using the Groups structure (see article: SIGN IT – How to add an additional level to an Asset structure), set the X-Scope-Identifier
to the ID of the corresponding Asset GROUP
. This ensures that the Assets UNIT
are nested under the corresponding Asset GROUP
.
Note: If the X-Scope-Identifier
header is omitted, the Asset UNIT
will be associated with the main organization (Asset TENANT
) by default via the authorization token.