api-keys
patch/api/v1/api-keys/{id}

Request

  • Base URL: https://app.lobehub.com
  • URL: https://app.lobehub.com/api/v1/api-keys/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

enabledboolean
expiresAtstring date-time nullable
namestring

Response

Successful response

messagestring
successtrue required
timestampstring date-time required

Changes

    • breaking

      the response property const value false was removed for the status

    • breaking

      the response's property type changed from string to array for status

    • breaking

      removed the required property from the response with the status

    • warning

      changed the pattern of the request property / from ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$ to ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$

    • warning

      added the new eval:read enum value to the // response property for the response status

    • warning

      added the new eval:write enum value to the // response property for the response status

    • warning

      added the new false enum value to the response property for the response status

    • info

      added the required property to the response with the status

    • info

      endpoint added