Login

Client

Get clients

GET /api/v1/headless/clients

Use this endpoint to get a paginated list of client identifiers.

Query parameters

FieldTypeDescriptionRequiredDefaultOptions
lengthintegerNumber of results to returnNo"100" N/A
pageintegerPage numberNo"0" N/A

Responses

CodeDescription
200A list of client identifiers

Get users

GET /api/v1/headless/users

Use this endpoint to get a paginated list of users. You can optionally filter by clientIdentifier.

Query parameters

FieldTypeDescriptionRequiredDefaultOptions
lengthintegerNumber of results to returnNo"100" N/A
pageintegerPage numberNo"0" N/A
clientIdentifierstringFilter users by clientIdentifierNo N/A N/A

Responses

CodeDescription
200A list of users

Delete client

DELETE /api/v1/headless/client/{identifier}

Use this endpoint to delete all objects associated with a clientIdentifier.

Path parameters

FieldDescriptionOptions
identifierClient identifier N/A

Responses

CodeDescription
200All related objects and creators deleted

Delete user

DELETE /api/v1/headless/user/{identifier}

Use this endpoint to delete a user by their identifier. You can choose what to do with any courses associated with this identifier.

Path parameters

FieldDescriptionOptions
identifierIdentifier N/A

Query parameters

FieldTypeDescriptionRequiredDefaultOptions
actionstringHow to handle courses allocated to this userYes N/A reallocate  delete  ignore 
reallocateTostringIf action is reallocate, the identifier to reallocate toNo N/A N/A

Responses

CodeDescription
200Success