set up assistantId through API to be none ?
# support
v
Based on the error messages you received, it looks like the API expects the assistantId field to be a valid UUID and does not accept null as a value. The message "assistantId must be a UUID" suggests that setting it to null or "none" isn't supported. Additionally, the error "property provider should not exist" indicates that the "provider" field shouldn't be included in your request body for this endpoint. If you're trying to remove or unset the assistantId, the current information doesn't specify a supported way to do this—so the API may require a valid UUID at all times.
Based on the error messages you received, it looks like the API expects the assistantId field to be a valid UUID and does not accept null as a value. The message "assistantId must be a UUID" suggests that setting it to null or "none" isn't supported. Additionally, the error "property provider should not exist" indicates that the "provider" field shouldn't be included in your request body for this endpoint. If you're trying to remove or unset the assistantId, the current information doesn't specify a supported way to do this—so the API may require a valid UUID at all times.
Based on the error messages you received, it looks like the API expects assistantId to be a valid UUID, not the string "null." That's why you're seeing the error "assistantId must be a UUID." Additionally, the error "property provider should not exist" suggests that the provider field may not be allowed in your request body for this endpoint. If you're trying to dissociate an assistant from a phone number, the information available doesn't specify whether omitting the assistantId field or using another value is supported. The API currently requires assistantId to be a UUID, so setting it to "null" as a string won't work.
Based on the error messages you received, it looks like the API expects assistantId to be a valid UUID, not the string "null." That's why you're seeing the error "assistantId must be a UUID." Additionally, the error "property provider should not exist" suggests that the provider field may not be allowed in your request body for this endpoint. If you're trying to dissociate an assistant from a phone number, the information available doesn't specify whether omitting the assistantId field or using another value is supported. The API currently requires assistantId to be a UUID, so setting it to "null" as a string won't work.
k
By sending a PATCH request to the phone number endpoint with "assistantId": null, allowing dynamic assignment via your Server URL.
k
Try remove assistantId and provider from the PATCH request and only include the server.url field to enable dynamic assistant assignment via your Server URL.
Try remove assistantId and provider from the PATCH request and only include the server.url field to enable dynamic assistant assignment via your Server URL.