Error updating api key
I am facing an error while trying to update the api key, my code:
body: { name: 'teste', enabled: true, rateLimitEnabled: false }
error:
[APIError: The property you're trying to set can only be set from the server auth instance only.] {
status: 'BAD_REQUEST',
body: {
code: 'THE_PROPERTY_YOURE_TRYING_TO_SET_CAN_ONLY_BE_SET_FROM_THE_SERVER_AUTH_INSTANCE_ONLY',
message: "The property you're trying to set can only be set from the server auth instance only."
},
headers: {},
statusCode: 400
}
my typing of body:
body: { name: 'teste', enabled: true, rateLimitEnabled: false }
error:
[APIError: The property you're trying to set can only be set from the server auth instance only.] {
status: 'BAD_REQUEST',
body: {
code: 'THE_PROPERTY_YOURE_TRYING_TO_SET_CAN_ONLY_BE_SET_FROM_THE_SERVER_AUTH_INSTANCE_ONLY',
message: "The property you're trying to set can only be set from the server auth instance only."
},
headers: {},
statusCode: 400
}
my typing of body: