Skip to main content

# API Changelog version 2.21.0

Released on the 11th of March

Written by Julie KOFFI
Updated over a week ago

Impact level : Low

## DELETE /api/auth/assets/delete

- added the non-success response with the status '404'

## DELETE /api/auth/assets/{id}/

- ⚠️ api removed without deprecation

## GET /api/auth/orgs/{id}/not-users/

- ⚠️ api path removed without deprecation

## GET /api/auth/remediations

- added the required property 'results/items/owners/items/teams_read' to the response with the '200' status

## POST /api/auth/remediations

- added the required property 'owners/items/teams_read' to the response with the '201' status

## GET /api/auth/remediations/{id}/

- added the required property 'owners/items/teams_read' to the response with the '200' status

## PATCH /api/auth/remediations/{id}/

- added the required property 'owners/items/teams_read' to the response with the '200' status

## GET /api/auth/risks/policies/

- added the required property 'results/items/created_by/allOf[#/components/schemas/UserLite]/teams_read' to the response with the '200' status

## POST /api/auth/risks/policies/

- added the required property 'data/created_by/allOf[#/components/schemas/UserLite]/teams_read' to the response with the '201' status

## GET /api/auth/risks/policies/{id}/

- added the required property 'created_by/allOf[#/components/schemas/UserLite]/teams_read' to the response with the '200' status

## PATCH /api/auth/risks/policies/{id}/

- added the required property 'created_by/allOf[#/components/schemas/UserLite]/teams_read' to the response with the '200' status

## POST /api/auth/teams/assets

- endpoint added

## POST /api/auth/teams/{id}/assets

- ⚠️ api removed without deprecation

## GET /api/auth/user/current

- added the optional write-only property 'teams' to the response with the '200' status

- added the required property 'created_at' to the response with the '200' status

- added the required property 'teams_read' to the response with the '200' status

- added the required property 'updated_at' to the response with the '200' status

## POST /api/auth/user/set-org

- ⚠️ added required request body

- added the media type 'application/json' for the response with the status '200'

- added the non-success response with the status '400'

## GET /api/auth/user/setdefaultorg

- added the media type 'application/json' for the response with the status '200'

- added the non-success response with the status '400'

## GET /api/auth/user/token

- added the media type 'application/json' for the response with the status '200'

## DELETE /api/auth/user/token/delete

- ⚠️ removed the success response with the status '204'

- added the success response with the status '200'

## POST /api/auth/user/token/generate

- added the media type 'application/json' for the response with the status '200'

## GET /api/auth/users/

- ⚠️ for the 'query' request parameter 'suborg_not', the type/format was changed from 'string'/'' to 'number'/''

- added the new optional 'query' request parameter 'org_not'

- added the required property 'results/items/teams_read' to the response with the '200' status

## POST /api/auth/users/

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the optional write-only property 'teams' to the response with the '201' status

- added the required property 'created_at' to the response with the '201' status

- added the required property 'teams_read' to the response with the '201' status

- added the required property 'updated_at' to the response with the '201' status

## GET /api/auth/users/export/csv

- ⚠️ for the 'query' request parameter 'suborg_not', the type/format was changed from 'string'/'' to 'number'/''

- added the new optional 'query' request parameter 'org_not'

## POST /api/auth/users/import/csv

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the optional write-only property 'teams' to the response with the '200' status

- added the required property 'created_at' to the response with the '200' status

- added the required property 'teams_read' to the response with the '200' status

- added the required property 'updated_at' to the response with the '200' status

## GET /api/auth/users/{id}/

- added the optional write-only property 'teams' to the response with the '200' status

- added the required property 'created_at' to the response with the '200' status

- added the required property 'teams_read' to the response with the '200' status

- added the required property 'updated_at' to the response with the '200' status

## POST /api/auth/users/{id}/

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the optional write-only property 'teams' to the response with the '200' status

- added the required property 'created_at' to the response with the '200' status

- added the required property 'teams_read' to the response with the '200' status

- added the required property 'updated_at' to the response with the '200' status

## PUT /api/auth/users/{id}/

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the optional write-only property 'teams' to the response with the '200' status

- added the required property 'created_at' to the response with the '200' status

- added the required property 'teams_read' to the response with the '200' status

- added the required property 'updated_at' to the response with the '200' status

## POST /api/auth/users/{id}/deactivate

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the optional write-only property 'teams' to the response with the '200' status

- added the required property 'created_at' to the response with the '200' status

- added the required property 'teams_read' to the response with the '200' status

- added the required property 'updated_at' to the response with the '200' status

## GET /api/auth/users/{id}/newpwd

- added the optional write-only property 'teams' to the response with the '200' status

- added the required property 'created_at' to the response with the '200' status

- added the required property 'teams_read' to the response with the '200' status

- added the required property 'updated_at' to the response with the '200' status

## PUT /api/auth/users/{id}/subscribe-mail

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the optional write-only property 'teams' to the response with the '200' status

- added the required property 'created_at' to the response with the '200' status

- added the required property 'teams_read' to the response with the '200' status

- added the required property 'updated_at' to the response with the '200' status

## POST /api/auth/users/{id}/{object_type}

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the new optional request property 'teams'

- added the optional write-only property 'teams' to the response with the '200' status

- added the required property 'created_at' to the response with the '200' status

- added the required property 'teams_read' to the response with the '200' status

- added the required property 'updated_at' to the response with the '200' status

You can access the complete API documentation here.

Did this answer your question?