Add a tag to a student
POST
/usuario/adicionar_tagAdds a tag to a student. When the student already has the tag, returns the existing link.
Authorization
apiKey AuthorizationBearer <token>
The school API key, found in the dashboard settings, sent in the Authorization header. The Bearer prefix is optional.
In: header
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/usuario/adicionar_tag" \ -H "Content-Type: application/json" \ -d '{ "tag_id": 0, "usuario_id": 0 }'{ "code": 200, "success": true, "data": { "created_at": "2019-08-24T14:15:22Z", "id": 0, "tag_id": 0, "updated_at": "2019-08-24T14:15:22Z", "usuario_id": 0 }}Retrieve the access of a student GET
Retrieves a student and their access to each product, ordered by product name.
Set the tags of many students POST
Sets the tags of each student in the list, found by email. Tags the student has but are not in the list are removed; tags that do not exist are created. An item with no tags leaves the student unchanged.