View the original community article here
Last tested: Feb 10, 2021
Yes, we can update the dashboard with a custom slug but please note dashboard slugs are required to be 22 characters long.
If we try to use the update_dashboard endpoint with a slug that's less than 22 characters, we'll see the following error message.
# Node SDK
const dashboard = await lookerSDK.ok(lookerSDK.dashboard("123"))
const test = await lookerSDK.update_dashboard("123", {slug: "slugtest"});
# Results in this error
error: {
message: 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type undefined',
type: 'sdk_error'
},
This content is subject to limited support.