From d285edc0c72f2913e02aa9c42bb968805ed95724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markku=20Leini=C3=B6?= Date: Wed, 3 Apr 2024 14:58:46 +0300 Subject: [PATCH] Fixes #15583: Update API token provisioning example response (#15584) * Fixes #15583: Update API token provisioning example response * Fix 'display' field output --- docs/integrations/rest-api.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/integrations/rest-api.md b/docs/integrations/rest-api.md index 03a34abf4..437f652b7 100644 --- a/docs/integrations/rest-api.md +++ b/docs/integrations/rest-api.md @@ -647,18 +647,20 @@ Note that we are _not_ passing an existing REST API token with this request. If { "id": 6, "url": "https://netbox/api/users/tokens/6/", - "display": "3c9cb9 (hankhill)", + "display": "**********************************3c9cb9", "user": { "id": 2, "url": "https://netbox/api/users/users/2/", "display": "hankhill", "username": "hankhill" }, - "created": "2021-06-11T20:09:13.339367Z", + "created": "2024-03-11T20:09:13.339367Z", "expires": null, + "last_used": null, "key": "9fc9b897abec9ada2da6aec9dbc34596293c9cb9", "write_enabled": true, - "description": "" + "description": "", + "allowed_ips": [] } ```